text:
Installing lineageOS
I have a tab S2 stuck on 5.02 I wanted to upgrade the software to lineagOS  There are lots of information out there but nothing that can help me. A few things first that I need to share. Im usung a MAC I once unlocked my device and knox is now void so must be unlocked. the bootloader I cant tell if unlocked. using an app I tried to check but came back with an error of " Sorry! root access is not properly installed on this device"
The tablet is in developer mode, there is no OEM mode or anything like that, usb debugging is turned on.
I have tried several things using terminal but didnt work with home brew an adb services. these installed on my mac but got as far as trying to add fastboot devices but denied on the terminal, but that probably makese sense if the bootloader is locked.
MOst insgtructions imply that you know what to do and dont exxplain much. Can anyone please assist with step by step instructions so I can complete the process of installing LineageOS.
Id appreciate your time if you can help me.
KInd regards

Have you looked at the instructions in the LineageOS wiki? They are pretty step-by-step, up to telling you which keys/buttons to press when to achieve what.

@Izzy: The right idea but the wrong link ;) This link should point to the correct device: https://wiki.lineageos.org/devices/espressowifi However the Tab S2 is no longer maintianed by LineageOS, hence you won't find any official LineageOS builds anymore.

you may still find old builds somewhere https://android.stackexchange.com/q/213272

@Robert Oh, I missed "tab". Wasn't InitCapped so I didn't recognize it as part of the name #D Apart from that: It's a Samsung device, so steps might be comparable. But maybe better check with one of the other tabs then which are close to that. I'm not a Samsung user, so I cannot really tell which ones that might be…

Thank you for all you advice. Ive tried looking on lineageOS couldnt find anything to help. I'm not sure what download mode is to check bootloader status. if Tab S2 is no longer maintained by LineageOS is there no hope, I want  an update as  near as possible for the tablet. 5.02 is very old

Samsung devices does not have fastboot mode, at least i am not aware of Samsung devices with Mediatek chipset
the bootloader lock status can be checked only from download mode screen
step by step instructions vary on device and android version. your android version 5.02 may not have OEM unlocking in developer options, you can skip this step
on the other hand be aware Samsung does improve security continuously and may roll-out new features even to old devices, which leads in non-working tutorials
also rooting apps like Magisk do silently change usage at will which may end up in data loss if tutorial isn't up to date


text:
"System" is trying to access Internet
I am using OnePlus 3T, Android 9. Recently I installed an app called "NoRoot Firewall" to prevent the apps from accessing the internet. I explicitly allowed and denied access to internet for some apps but didn't allow or deny the "System" (default) app to access the internet. If you don't allow or deny the the access, it will send you a notification when that app tries to access the internet.
I started receiving notifications when the "System" app tried to access the internet on multiple occassions. I ignored it for a week and I didn't see any issues in my phone as such. I was expecting if the system doesn't get internet, it will fail the operation that it was trying to do and I would notice it if I use that feature but I didn't notice any change.
Here is a screenshot of the URLs/IPs that it tries to access.

I tried hitting those URLs/IPs in my browser to check the certificate but it says it's missing certificate even though in the URL it shows that it's trying to access it on port 443.
Please provide your thoughts.

cloudfront.net are Amazon cloud servers. The firewall works on IP level and tries to resolve the DNS name using the IP address. The reverse IP resolution for cloud servers usually only gets you the internal server name that is not the DNS name used from your device. Hence the real DNS name is unknown to you (and that host name is more meaningful). Without knowing this name you can also not access the server.

What's the question? Are you concerned about "System" or IP/domain?

source: Stack Exchange

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

sort: votes


text:
GPS not working on Samsung after Android 10 update
Since the update GPS stops working most of the time.
I have an A6, but it's a widespread problem on many Samsung devices.
I only found a workaround so far:

work-around until Samsung fixes it.  Download and install "GPSTest".   Once installed, turn off mobile data, open GPSTest and it will get a GPS signal with coordinates.  Turn mobile data back on, then hit the home button and open whatever app you want.  Basicaly GPSTest keeps the GPS alive and it will allow other apps to function as well.  I have to do this almost every time I need to use a GPS app.  It works, but is a pain...

Source: https://us.community.samsung.com/t5/Galaxy-S9/GPS-not-available-after-Android-10-update/td-p/1101309
But this works only sometimes.
Is there a better way to fix GPS? Or is there a reliable way to apply that workaround?

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


text:
Is there a way I can disable part of my display that has a green line?
I have a Pixel 3, and I picked up my phone after momentarily charging it on a wireless pad (for about 30 minutes) this morning, as I usually do, and now it has a green line near the right edge of the screen.
Seeing as it is a display issue, I will probably need to get it replaced.
In the meantime, though, logistics make this difficult, and I would much rather have a black streak on the side than a green one.
Is there any way I can get the phone to just disable a vertical line of pixels?
The touch aspect of the screen works fine, so I don't want to modify that.

There are a number of questions already on this site about this issue. Have you read them, and can point out where the answers supplied previously do not apply, or fail for some reason in your case? You can start to solve this by clicking through the 'broken-screen' tag you have attached to your post and exploring the solutions previous.

As far as this site goes, I can't really find another question with the tag about the green/pink lines others have reported. I've tried restarting my phone in safe mode, but the line appears whenever the display turns on, even slightly.

I've seen some articles about Samsung's AMOLED, and how some programs/apps can disable pixels for that screen type, but my model uses OLED.

Most of the solutions I've found involve replacing the screen, but since I can't do that for logistical reasons right now, disabling the individual pixels themselves seems like it would be a straightforward way to reduce the visual impact.


text:
Boot on Charger, power down on charger remove and autostart app
I am looking to do the following:

Auto boot device on charger connection.
Auto start an app on boot.
Auto power down on charger disconnection.

It looks like I'll need at least one app to do this, but wondered if there was a single app I can use to achieve what I need (rather than 2 or 3).
I'd rather not root, but would do if I have to.
The device is a Samsung Galaxy Tab A SM-T510.
Thanks.
Update :
I have resolved items 2 and 3 with Tasker, but still stuck with item 1.
I cannot run the fastboot command (so autoboot on charger connect) because Samsung devices do not have fastboot mode. Still looking for a solution to item 1.

An app is usually not allowed to shut down a device (unless it is a system app from your device manufacturer). For regular apps root permissions are required.

CLI solutions for 1 and 3 (not possible without root): Automatically power on Android when the charger is connected , How to power off when charger is removed?. Auto starting an app on boot is the app's ability to listen for BOOT_COMOLETED broadcast event and run a service or do whatever needs to be done.

I have resolved items 2 & 3 but cannot seem to resolve item 1 because Samsung devices do not have a fastboot mode. Is there any other way to do this?

@omega1 see my answer to Automatically power on Android when the charger is connected


text:
Prevent ISP DNS Hijacking
I live in a country where some sites such as Reddit are blocked. On wifi I can change my DNS to Cloudflare (1.1.1.1) and be able to access those sites, but on mobile network my ISP doesn't seem to allow me to do so. All the solutions I see are for non-rooted devices and only affect wifi networks. My device happens to be rooted Android 10, is there anything I can do to be able to access Reddit without wifi?
Thank you for your time.

Why not use a VPN or Tor/Orbot? If you have Firefox you can also use SwitchyOmega addon to use a proxy for Reddit. You'd need to provide a public proxy address of course. Be aware, public proxies are not trustworthy. But they are reasonably good to  access blocked content though.

DNS is not the only way to block sites. There is port blocking, IP blocking and protocol blocking (with DPI). But if you are sure it's only the DNS your ISP is intercepting, use encrypted DNS. I explained the whole process for dnscrypt-proxy (which supports both DoH and DoT) here: https://android.stackexchange.com/a/207647/218526. If you are interested only in web browser, Firefox does have built-in setting for encrypted DNS. Android 9+ also has Private DNS (DoT) which encrypts whole DNS traffic.

@IrfanLatif In the age of cloud IP blocking isn't working anymore. See "Russia vs. Telegram" - one time they were blocking Telegram IP on cloud server and Telegram was just moving to the next IP/cloud node. The only services(s) that were blocked were those that by chance were running on the same public IP like Telegram servers.

@Robert correct. But I'm saying that for sure that some MNOs (at least in my country) are still blocking IP addresses combined with other techniques, usually DPI e.g. for blocking porn sites and VPNs. I have also seen that ISPs whitelist IP ranges used by bigger cloud services like Amazon and Google. But whitelisting/blacklisting often goes wrong and users are found reporting odd situations.

@Firelord I'd prefer not having to pay for services, and I found that Tor makes connections unacceptably slow. It is a solution, but I'm looking for more.

@Irfan Latif The Private DNS feature on Android doesn't seem to work on mobile networks. I have it enabled, and it works as expected on wifi, however it doesn't seem to affect mobile networks at all.

@404NameNotFound I've been using dnscrypt-proxy even before the Private DNS feature was introduced. So I don't use the latter because of some other leak issues. But it definitely works with both WiFi and Mobile Data. That's what the AOSP code indicates. And I just tested it for you right now. Hotspot traffic is an exception though: https://android.stackexchange.com/a/214690/218526

@Irfan Latif Thanks! dnscrypt-proxy works great for me. No noticeable speed drops while still allowing me to access sites I normally wouldn't be able to.

DNS is not the only way to block sites. There is also port blocking, IP address blocking (though not very feasible and effective in the age of cloud as @Robert said) and protocol blocking (with DPI). See a brief description of censorship techniques here. But if you are sure it's only the DNS your ISP is intercepting, you can use encrypted DNS:

Android 9 introduced Private DNS (DoT) (under Network Setings) which encrypts whole DNS traffic both for WiFi and Mobile Data. Hotspot traffic is an exception though.
If you are concerned about web browser only, Firefox does have built-in settings for DoH.
If you have a rooted device and you want more control or want to do logging, blacklisting etc. or want to use encrypted DNS for hotspot network too, dnscrypt-proxy is a better option. It supports both DoH and DoT. See how to set up dnscrypt-proxy as an init service on Android with least privileges.


text:
Gmail App is not differentiating Read and UnRead Emails in Vivo Android Mobile
In Android Gmail App, It has unread emails with bold and read emails without bold to identify which emails are unread. But in my Vivo V7 Android Mobile I couldn't able to see that differentiations and all the emails are showing without bold and hence this app is not so helpful for me.
Below are the steps I tried,

Cleared Cache of App.
Signed out and Signed in
Rebooting mobile
Tried al the settings

Nothing helped me. Please give a solution for this issue,

If I see it correctly mail 1, 3, 4, 6, 7 are bold. It is just the strange system font used on your phone that has nearly no difference between normal and bold.

I'm afraid this is the issue with the system font, not really Gmail's fault. I assume this is the default font, not your customization?

As mentioned by Robert and Andrew in comments, this issue was due to System Font, which was a custom one and not a default one. Once I changed to Default Font, I could able to see gmail is showing as normal fonts.


text:
Blackberry Q10 to Samsung Galaxy S6
Want to get my contacts from Blackberry Q10 to Samsung Galaxy S6.
Tried MobileTrans, Dr. Fone (neither support Blackberry anymore) and even tried to use Samsung Switch software.  Neither worked.  What can I do ?  I just want to import the contacts over ..

I think you have two options:
1: Transfer to a Google Account login to a Google account on your Blackberry and go to the contacts app > gear icon > General > Contacts Management > Copy Contacts and you will be able to copy them straight to the Google account. Then login on your Galaxy S6 and enable contacts sync.
2: Export as a vCard or .vcf file contacts app > gear icon > General > Contacts Management > Import/export and select an option. Then transfer the file from your Blackberry to your S6, and go into the contacts app and click import.
If in option one, for whatever reason you are not able to login to a Google account and transfer the contacts, you can export them as a vCard or .vcf, and import them into Google contacts on your PC directly.

Thanks, I got it somehow to copy to my SIM card - but then it didnt copy everything so I had to add some manually.  Just strange - but it got like 80% of them.  Then new phone detected them off SIM card.


text:
What are "T Google Enrolment" and "X Google Enrolment"
In my Pixel 3 with stock ROM I can see (among other) apps called "T Google Enrolment" and "X Google Enrolment".  What are these and what do they do? Can I safely disable them?
UPDATE: If, as alluded in an answer, these are listening for "OK Google" phrase, why are there two of them and how are they different from "OK Google enrolment"?

To disable it:

Open Settings
Search for "OK Google"
Choose "OK Google Enrolment"
Select info
Push the "Force stop" button
Push the "Disable" button

This doesn't exactly address the question. Is it safe to remove?

They're used for hotword detection, e.g. continuously listening for "OK Google".

Thanks.  This only raises more questions: why are there two of them?  And why are they needed in addition to "OK Google enrolment"?


text:
How to recover open opera tabs from backup data after phone bricked?
I had more than 200 tabs open on opera and they would normally reopen again, even after reboots.
My phone broke, but I have a backup of the external SD Card, internal SD Card, and a backup from TWRP which is of a size of 23.7 GB but does not have an obviously accessible structure.
Following the advice from another QA, it is possible to concatenate the data.ext4.win000 to data.ext4.win009 files and access them as a tar archive (It's a good idea to cd to where you want the backup to be extracted to first):

bash cat data.ext4.win??? | tar xvfi -
What this does is concatenate each file matching the pattern
data.ext4.win??? and then pipe the concatenated files to tar for
extraction. the - as the filename tells tar to extract from stdin. The
i option ignores zero blocks which will be in between each archive
file concatenated.
In this example I used the ext4 formatted data partition. Change
data.ext4 to match the partition you are extracting.

Although the tar command exits with
/data/magisk_backup_bd5d0aa87b96353c78a3bf3a455121d0c767089c/boot.img.gz
tar: Exiting with failure status due to previous errors

it extracts quite a few files before this hapens.
However, it is probably better to simply extract each of those files on their own without concatenating them, as in the comment by alecxs:

side note: concatenating win* files is wrong, that files are standalone tarball archives

Now that I have my /data directory again, I have access to /data/data/com.opera.browser and /data/app/com.opera.browser-2. What do I do with them to extract a list of urls that were open?
Directory Structures
data/data/com.opera.browser
├───app_opera
│   ├───Application Cache
│   │   └───Cache
│   │       └───index-dir
│   ├───blob_storage
│   │   └───9b46839e-470e-4a3a-aa32-e9bc919a25f0
│   ├───databases
│   ├───databases-incognito
│   ├───File System
│   │   ├───026
│   │   │   └───t
│   │   │       └───Paths
│   │   └───Origins
│   ├───GCM Store
│   │   └───Encryption
│   ├───GPUCache
│   │   └───index-dir
│   ├───IndexedDB
│   │   ├───https_hackernoon.com_0.indexeddb.leveldb
│   │   ├───https_mobile.twitter.com_0.indexeddb.leveldb
│   │   ├───https_www.epicgames.com_0.indexeddb.leveldb
│   │   └───https_www.independent.co.uk_0.indexeddb.leveldb
│   ├───Local Storage
│   │   └───leveldb
│   ├───paks
│   ├───Platform Notifications
│   ├───saved_pages
│   ├───Service Worker
│   │   ├───CacheStorage
│   │   │   ├───5a6f7e336992bc24678958dc2f1f9b9eec83593b
│   │   │   │   ├───281ffb34-a074-4397-a60c-e3dc55aee5e5
│   │   │   │   │   └───index-dir
│   │   │   │   └───8d34090e-e00a-4f69-9450-bbe1b4b0dc9d
│   │   │   │       └───index-dir
│   │   │   ├───96f3041722d8f6857b95786ee88fa6a107a86943
│   │   │   │   └───11ccf6ea-9e2a-4648-8c61-a635e1cca5c5
│   │   │   │       └───index-dir
│   │   │   └───e60030e2e5440743857a39cacd108634434c91f1
│   │   │       ├───0045349f-4331-4037-bf9d-e9711e515a08
│   │   │       │   └───index-dir
│   │   │       ├───4a447cca-f7ca-41f1-9464-e40337cd7ed1
│   │   │       │   └───index-dir
│   │   │       └───907b2396-da18-4880-a0df-e3608abac640
│   │   │           └───index-dir
│   │   ├───Database
│   │   └───ScriptCache
│   │       └───index-dir
│   ├───Session Storage
│   ├───shared_proto_db
│   │   └───metadata
│   ├───Sync Data
│   │   └───LevelDB
│   └───VideoDecodeStats
├───app_optimized
├───app_textures
├───app_webview
│   ├───blob_storage
│   │   └───3f7cc261-4c0e-41cc-947b-2dc712733f49
│   ├───GPUCache
│   │   └───index-dir
│   └───Local Storage
│       └───leveldb
├───cache
│   ├───cache
│   │   └───index-dir
│   ├───Crashpad
│   │   ├───attachments
│   │   ├───completed
│   │   ├───new
│   │   └───pending
│   ├───crash_dumps
│   ├───distiller
│   │   └───index-dir
│   └───okhttp
├───code_cache
├───databases
├───files
│   ├───AFRequestCache
│   ├───ds
│   │   ├───10
│   │   └───E
│   ├───images
│   │   └───share
│   ├───keychain
│   │   └───0
│   ├───reading
│   └───recently_closed_tabs
├───no_backup
└───shared_prefs

data/app/com.opera.browser-2
├───lib
│   ├───arm
│   └───arm64
└───oat
    ├───arm
    └───arm64

data/data/com.opera.browser/files/
# 332 files of the nameformat "thumbnail_-214748????"
# 3   files of the nameformat "searchengine_j_<UUID>"
AFRequestCache
appstate.bin
audience_network.dex
cards_settings.dat
ds
favorite_25
favorite_29
favorite_31
favorites.json
images
keychain
newsfeedback
permissions.bin
reading
recently_closed_tabs
reksio.ini

System Info
I think I was on Android 7.1.1
Rooted with Magisk, but stock ROM
Recently Closed Tabs
Not what I am looking for right now, but I stumbled upon the location of those, in case a future viewer is looking for them:
data/data/com.opera.browser/files/recently_closed_tabs/state-2147481796

Related Links

How can I export all my open Firefox Tabs to a text file? is posed about doing so on a living phone, but also points out where the file is located. The relevant file is called sessionstore.js.
That does not seem useful for opera. grepping find for "session" only finds shared_prefs/sessionrestore.xml which contains nothing useful for my purposes.

How can I export the list of open Chrome tabs?

Promising Files appstate.bin
data/data/com.opera.browser/files/appstate.bin contains at least some urls and their titles, separated by a null-byte. strings appstate.bin outputs more than just the urls that were open though. And some of those doubly or not completely.
I shall document my journy with this file below.
Looking at data/data/com.opera.browser/files/appstate.bin shows that it's a binary data file, but it contains readable strings. Open it with vim appstate.bin or look at hexdump -C appstate.bin.
strings appstate.bin | grep -A3 reader_mode_state

already spits out quite a few urls. But it's not yet obvious to me how the structure of that file actually works.
Some entries prefix the url with l or O or K or ] or not at all.
In some entries the first line after "reader_mode_state" is the url, in others it is "operaui://startpage" and the url follows further below.
But what stands out is that the urls all seem to start with http or https - unless you had some ftp or such open, which I'm pretty confident I did not.
strings appstate.bin | grep http

outputs 1506 lines though. some links are duplicates, others are links I do not care about. e.g. like so:
Qhttps://www.linuxuprising.com/2018/06/fix-no-sound-dummy-output-issue-in.html?m=1
Qhttps://www.linuxuprising.com/2018/06/fix-no-sound-dummy-output-issue-in.html?m=1
https://www.linuxuprising.com
https://www.linuxuprising.com
https://www.linuxuprising.com
https://www.linuxuprising.com
https://www.linuxuprising.com
https://www.linuxuprising.com
https://www.linuxuprising.com
https://www.linuxuprising.com
https://www.linuxuprising.com
https://www.linuxuprising.com
https://www.linuxuprising.com

Since I don't care about duplicates, we can apply uniq to reduce that number down to 967 urls. With sort -u we would get down to 833 instead. But both are still too many. It seems to me like opera also stores the tab's history in there.
Removing some obviously unwanted lines gives 523 lines, so ~260 urls:
 strings appstate.bin | grep -v -e 'operaui://startpage' -e 'Speed Dial' | grep -A2 reader_mode_state | uniq | grep -v 'reader_mode_state'

As a target number to consider:
strings appstate.bin | grep reader_mode_state | wc -l
231

That means - assuming this target number is a good estimate of how many tabs were open - that I have about thirty urls too many. I think I can live with that.

Use on New Phone

Install opera on the new phone
Copy the old /data/data/com.opera.browser/files/appstate.bin to the new phone at that location. (Requires root).
Open Opera. All the Tabs exist (but will have to be loaded again).

Export URLs as List
This will find slightly more urls that you were hoping for. Probably something from the tab's history.
data/data/com.opera.browser/files/appstate.bin contains that data. To get a list of only the URLs, you can run
strings appstate.bin | \
grep -v -e 'operaui://startpage' -e 'Speed Dial' | \
grep -A2 reader_mode_state | \
sort -u | grep -v 'reader_mode_state' | grep -oh "http.*$"

If you care about the order of the urls, use uniq instead of sort -u.


text:
genymotion icon is not shown in android studio
i want to use genymotion in android studio. i have installed genymoiton and oracle virtualbox. in android studio i went to: File> settings> plugins , and installed genymotion. i should say that, previously, i have create a virtual device in genymotion.
the problem is: i expect that the genymotion icon to appear in android studio
but: nothing appears
any help is highly appreciated...

Please vote for migration to Stackoverflow.com

After installing Genymotion plugin and restarting Android Studio you should see the Genymotion device manager icon in the toolbar:

On newer Android Studio version the toolbar may be disabled or not fully shown. Make sure the toolbar is activated:  Menu View -> Appearance -> Toolbar

Additionally when you click the Genymotion icon the first time you have to manually specify the Genymotion installation directory, e.g. by default it should be this path:
C:\Program Files\Genymobile\Genymotion

as you said, i expect this icon, but it does not appear. i activated the toolbar in: Menu-> View->Appearance->Toolbar,  but unfortunately there is no genymotion icon yet. yes i previously specified this path for genymotion. actually i can access genymotion through search, but no there is no icon

@user324903 If the icon misses but the path can be configured then the plugin is correctly installed. You can manually add the icon by clicking right on the empty area of the toolbar and select "Customize menu and Toolbars" then search for "Genymotion" and add the icon.

in "Customize menu and Toolbars" im searching for "Gennymotion" but nothing is found. do you know where can i find it?

Make sure to upgrade to the latest Android Studio version 4.0 and reinstall the Genymotion plugin. Looks like something went totally wrong on your installation. Besides that the Genymotion plugin is not very useful, it just allows to start a Genymotion emulator which you can also do from the main Genymotion program.

actually after activating toolbar which you said, i update plugins and restart android studio, and the icon appeared. thanks a lot


text:
How do I sort whatsapp media files according to sender
Is it possible to sort out whatsapp media files with the name of the sender?

By copying the photos to your computer you can sort it by different exif details like camera taken, date, location etc. So try cleaning and organizing by that. you can copy back the needed photos to your mobile later. Hope it helps.
But as far as I know, there'sno such option.


text:
Android fail to read screen timeout
I use Motion Detector & Tasker to turn screen on.
It works OK ... like this:

when screen is off and Motion Detector discovers a motion it will turn screen on.
Tasker sets display timeout to 30 sec

Here is where it goes wrong ... the screen is not turn off after 30 sec but after 6-8 sec ... but when I tap the screen when it is turned on then it stays alive 30 sec.
I seems that Android can't read the timeout in Display settings which is 30 sec ... only when I tap the screen it reads the settings.
I have Android 9 & Galaxy Tab S5e.
Then I took another approach ....
I installed SETEDIT from Play to check the value of 'screen_off_timeout'. Then I ran two different test - one with Tasker disabled - one with Tasker enabled.
Taker disabled:

In 'Settings/Dislay/Screen timeout' I set to 15 sec
The display shutdown occured after 15 sec first time ... OK
When I woke the display its shutdown occured after 15 sec ... OK
In SETEDIT the value of 'screen_off_timeout' was 15000 ms = 15 sec
In 'Settings/Dislay/Screen timeout' was still 15 sec

So it seems that without Tasker it behaves as expected.
Taker enabled:

In 'Settings/Dislay/Screen timeout' I set to 15 sec
In Tasker I set 'Display Timeout' to 1 min
The display shutdown occured after 15 sec first time ... OK
When the display woke up due to a motion was detected ... its shutdown occured after 5-7 sec ... not OK
In SETEDIT the value of 'screen_off_timeout' was changed by Tasker to 60000 ms = 1 min ... OK
In 'Settings/Dislay/Screen timeout' was also changed to 1 min ... OK

So both SETEDIT & 'Settings/Dislay/Screen timeout' shows the correct values ... why is screen shut down after 5-7 sec???

There's a lock screen timeout (which seems to be non-adjustable) that is different from the screen timeout


text:
What can class 0 message (flash SMS) do to Android devices?
I'm using a Samsung phone and I recently got an anonymous message via Class 0 Message

Class 0 Message
URGENT MATTER ,CONTACT
  ME MY EMAIL NOW
  (email redacted)
From: (phone no. redacted)

I saw a concerning article regarding the issue, it said that it can apparently reboot your phone? Is that true?
What I did was I responded to the email not knowing it might be a scam.

Do you have any antivirus installed on the smartphone? Protect Yourself from “SMiShing”

I don't have one but I'm downloading mcafee

Don't what it means I'm pretty new regarding any phone issues, didn't even know you can get attacked by a simple SMShing

@NeoAragones, please, add on your question full device description.

Try to install a good antivirus, on Google there are free good antivirus like AVG, Avast and the like. Then, try to full scan on your device looking for some malware and don't forget to full scan the sdcard too.
If after made the step 1 succesfully you still are getting that SMS message, so I highly recommend you to factory reset your device, which one means that your device go back to the factory settings and all the data stored on the device will be deleted except the sdcard data (of course, if you didn't encrypt the sdcard).

Important: if you factory reseted your device, pay much attention when installing apps again, check out apps are really trusted.
References:

The best antivirus software for
Android
Don't Answer Text Messages of This Type. It May Be a
Scam
Malware
How to factory reset Android
devices


text:
How to block YouTube in general on my daughter's phone while allowing her to follow her favourite YouTubers?
While YouTube Kids app is allowed on my daughter's Android phone, YouTube app is blocked. Recently I realised she still accesses youtube.com through her web browser so she can follow her favourite gaming YouTubers (on YouTube Kids app she can't follow their channels, she can only find their videos one by one through a general search, which is extremely annoying and unsatisfying).
Is there a way to either follow a channel in YouTube kids or to allow the following of a channel in YouTube app or in web youtube.com while blocking YouTube in general?

There is a "combined approach" that should work for you, requiring multiple components:
1. Block youtube.com
As alecxs successfully tested, blocking youtube.com will only affect the web browser, but not the YouTube app (and thus neither the YouTube kids app). You could block that in your router, but then it would only apply when your daughter is home and not using mobile data. Do do that directly on-device, you can use e.g. Netguard (yes, the one from F-Droid – the one from Play Store doesn't have that feature as the Play Store policies do not permit, see here).
2. Use a child-protection app
While 1. would work, it would not prevent your daughter from simply "quitting Netguard". So you need something that restricts the apps she can use. For this there are plenty of child protection apps¹ – but you should choose wisely: many of those come with a bunch of trackers (Analytics, Ads etc), which is an absolute No-Go in this context. JoLo seems to be a good choice – it got very good reference from MobilSicher.DE, which never just scratches the surface (aka "looks great and has many features") but also checks what apps do "behind your back" (aka tracking, calling home, extracting data…). With such an app, you can establish a "Kiosk": only the parent can change settings – and the child only gets access to what the parent configured.
So combining 1+2, youtube.com would not be reachable from the browser, the kids app would still work, and the official YT app could be hidden. On top you get an ad blocker (less traffic, and also protecting your child against "unwanted content"), which you'll certainly welcome.
3. Put the YouTube app into "restricted mode"
You could try putting the YT app into restricted mode and see if that works for you, so the girl can "follow her channels" from there. Not sure how well that works, or how you can keep your daughter from changing that setting (probably only by using Google Family Link which from a privacy perspective can not be recommended, as all data will be logged with Google (again, found out by MobilSicher.DE).

¹ disclosure: link goes to my own Android site

Thank you, that is very helpful :)

Glad I could help – enjoy!

I find Kaspersky Safe Kids to be very good. In the app store. You should be able to block sites under the internet tab.

thx but the question is about following a channel in YT kids (while blocking youtube)

Plus, that Kaspersky app comes with trackers (e.g. AppsFlyer and Crashlytics – also see its report at Exodus) – a no-go for a security app, and an absolute no-go for a security apps for kids. Especially when it comes to privacy, make sure there are no trackers.

And I suppose being of Russian origin doesn't help! But yes, you should be able to block social sites (YouTube etc) but permit a single path address (eg a channel) on the internet tab.


text:
How to remove file from "Recent Files" on android 10?
In the Files app of stock Android 10 (Pixel 2 XL), there is a "Recent" category. For privacy reasons, I wanted to delete a file in this category. As far as I have searched for this file by filename, and it doesn't seem to exist on my system, but still appears in the list. I've tried clearing the cache/storage for the "Files" app, but it still remains. How can I remove this item from the recent list, clear the entire list, or get the file's folder location so I can delete the real file?

Try using app mentioned here

"Files" app in stock Android shows recently modified files (within 45 days) from whole external storage (/sdcard) under "Recent" category. A list of all files is built and managed by Media Provider. So you can't remove existing files from "Recent". But if a non-existent file is wrongly indexes in database (/data/data/com.android.providers.media/databases/external.db) you can trigger a media scan or delete data of Media Storage app. See this answer for details: https://android.stackexchange.com/a/209119/218526

Files app (com.android.documentsui) in stock Android (not that modified by OEMs or custom ROM developers) shows recently modified (within 45 days) image and video files (64 each at maximum) from whole shared external storage (/sdcard and external SD card) under Recent category. A multi-purpose list of all files is built and managed by Media Provider. See how files are categorized based on their extensions. Apps' private files directories aren't scanned by MediaScanner but media directories are (see where Android apps store data). Similarly directories starting with a dot (.) or those having a .nomedia file and their sub-directories aren't scanned.
So any existing files which are not excluded from scanning cannot be removed from Recent category. You may possibly disable the app to hide it from launcher. But the indexed files appear in any app which relies on Media Provider, including MTP. However if a non-existent file is wrongly indexed in database (/data/data/com.android.providers.media/databases/external.db) you can trigger a media scan or delete data of Media Storage app. See this answer for more details.


text:
YouTube Premium: Downloaded videos - Original channel deleted?
I have subscribed for YouTube Premium and have downloaded some tutorial videos I want to keep. However, the channel owner will be deleting his entire channel soon.
Research online is difficult and I'm seeing mixed results, where some say the downloaded videos are kept when this occurs, and others saying they are deleted as well when the channel is deleted.
Will the YouTube app save these videos? If not, how can I hang onto them?

I would just avoid this problem and re-download the video to a file, in a way it can be played in any video player. Such Youtube download tools exist for various OS.

From Google Support - Delete your channel, which addresses this from content creator view

Closing your YouTube channel will permanently delete your content, including videos, comments, messages, playlists, and history.

Also here, support says

...  If you delete a video, it's permanently deleted — you can't recover it through YouTube.

(Emphasis added)

So, the videos are lost. Even if you download them for off-line viewing, you will not be able to play them because they aren't available any more. For more details on off-line viewing see this answer. It's an old answer but still valid because I see many videos which I bookmarked or downloaded go missing because of channels removed / videos being deleted because of ownership disputes (private videos) in addition to YouTube updates.

Your best bet may be to reach out the content creator and explain the situation to them and explore if it is possible that they upload to a private cloud and give you access (provided this arrangement doesn't run foul of YouTube copyright)

If you do find a way out, please feel free to post your answer here, so that it helps others :)


text:
Default app for file type
I have a Nokia 6.1 with Android 10 (Android One).
I was trying to download my account statement in Revolut app. It gives me an option to select either PDF or Excel (CSV) format to download. But instead of downloading it opens PDF in Android's default PDF viewer, and for CSV it attaches it to a new e-mail in Gmail app instead. I assume this happens because of file associations, but I can't find an option to configure them.
My problem is that I don't want my account statement coming straight through Google. It's just my personal preference to avoid feeding Google sensitive data directly.
Is it a problem with Revolut or Android? If it's Android, can I configure behavior for file types to open CSV in a different app?

See these answers

I've checked the app, it didn't change anything.

How a file handles a file (for opening or downloading) totally depends on the app developer. Usually apps fire an implicit intent with details of the file and the action the app wants to perform on it. Android then resolves this intent by matching its details with all installed apps and creates a list of apps that can handle the file type and action. If there are more than 1 apps available, Android pops up an option list where user can select the desired app (and also set it as default for future use). If only one app is found, an explicit intent is forwarded to that app from OS.

So at OS level usually there is nothing you can do except clearing defaults. Apps like Better Open With intercept all intents from all apps by claiming that they can handle every file type and every action. Then they provide options to the user what they want to do with it. You can chack logcat (ResolverActivity in particular) while opening PDF or CSV file to better understand how the app opens them. This can lead to a solution.

Thanks. In the meantime I've tried reaching out to the company and now I'm waiting for the response. If they don't respond I'll try to debug this myself


text:
Unable to activate Lenovo tablet as a "secondary" Viber device
I have been using Viber for almost ten years on many devices (including Blackberries, Android phones and tablets, Windows and Linux PCs). Lately, my old Samsung tablet started to fail, so I bought a new tablet (Lenovo TB-8505F 8" Wifi only). I tried to activate Viber on this tablet as a secondary device which is the way I had used Viber for years: mobile phone is always my primary device; tablet and PCs are my secondary devices.
However, it seems that this new tablet is treated like a mobile phone by Viber (although it is a WiFi only device). So, Viber tries to activate this tablet as a primary device only.
As a comparison:

On the old Samsung tablet, the "activation screen" which is displayed just after I enter my mobile phone number, shows the relevant QR code to be scanned by my primary device (phone). [This is the correct behavior].
On the new Lenovo tablet, the "activation screen" which is displayed just after I enter my mobile phone number, shows that an SMS or phone call activation will be attempted [wrong behavior] just like the tablet were a primary device only (which it should not). In case I continue with the SMS/phone activation, my primary device (phone) gets disconnected [as expected].

I want to activate my new Lenovo Tablet as a secondary device. Is there a workaround to force Viber to "treat" this device as a secondary device?

Looks like Viber uses the screen size+resolution to determine if it is a smartphone or not.   Based on their description it should work as a secondary device, hence this is a bug. I think the only way to solve this is to contact the Viber support and ask why they want your tablet only allow as primary device.

I already contacted Viber. So far I haven't got an acceptable response. For your information: My old Samsung tablet and the new Lenovo tablet have the same size and resolution: 8" and 1280 x 800 pixels.

I contacted Viber Support several days ago. Eventually the answer came from Viber Support (Ian). The steps are like this:

Remove Viber from your tablet (I added this step).
Go to tablet's Settings Display Display size and change from Default (or anything else) to Small.
Reboot your tablet so its dpi will change.
Install and activate Viber on the tablet as a secondary device (now you will see the expected QR code).
Change the Display size back to whatever it was before.
To be sure, reboot your tablet and test Viber.

Note: Unfortunately, I cannot check the "Display size" of my old Samsung tablet, because I already did a factory reset on it.

Having the same issue with Samsung Galaxy TAB A 2019 and witnessing the crap support from Viber, I would like to point that the issue is indeed caused by the Viber device identification from screen resolution as Robert suggested. What is important is to differentiate screen resolution to one that can be identified as "tablet". In an Android developers site I found the following dp info:

Here's how other smallest width values correspond to typical screen sizes
320dp: a typical phone screen (240x320 ldpi, 320x480 mdpi, 480x800 hdpi, etc).
480dp: a large phone screen ~5" (480x800 mdpi).
600dp: a 7” tablet (600x1024 mdpi).
720dp: a 10” tablet (720x1280 mdpi, 800x1280 mdpi, etc).

For some reason my tablet had as factory default setting minimum width 533 dp!
On Android 10 you have to dig deep to find this by activating Developer Options menu (Settings/About tablet/Software Information/7 taps on Build Label) and under Drawing label find  the Minimum width setting. For a 10.1'' you can set it to 800 dp.
After restart the installation as secondary device proceeds as normal.
I have to point that Viber support after passing them a slum dunk with the post from this forum and my minimum width setting did not even bother to look for an answer!! They sent me as a reply the summary of this post with the "recommendation" to find View and Small Screen setting on Android !! I hope that my recommendation to include a warning to their knowledge base (which kept sending me as a fix to this problem !!) would resolve future issues. Especially since it is so easy for a developer/ technical person from a multi million dollar company to spot and solve.
Thanks for the info provided by Robert and Fendonkadifeli!!

What worked for me is running adb command:
   .\adb shell wm density             // to get current value X
   .\adb shell wm density 160         // to set density

,activate Viber hopefully as secondary device, and after that - revert value:
   .\adb shell wm density X`           // revert value to X(previously read value)

Also, running command .\adb shell wm density reset should revert density to initial value, but it faild to work for me.
You could try different values for density. As I understand it, lower value should correspond to larger screen size, ie. tablet.


text:
What is the meaning of the SAT/SIG/TTF GPS status info?
When you turn on GPS and some app subscribes for GPS notifications, GPS status info shows up with "SAT", "SIG" and "TTF" info (the last one I know, Time To Fix) but what is the meaning of the first two and what is the meaning of the numbers/symbols (like infinity) shown up next to them?
Update: example of the Android GPS status:
SAT 0/2 | SIG 19/∞ | TTF 27s

The last one means "it took 27s (so far) to acquire GPS signal". I don't know about the first two ones and all those numbers.

Android developers defines the standard parameters
GPS Status to be used by apps.
Apps can obviously provide more than the minimum information, as in the case of GPS Status & Toolbox, whose help page
and Android documentation put together help decipher.

SAT 0/2  Number of satellites: GPS in use [+ GLONASS in use] / Total visible. So your phone could detect 2 Satellites but none were used to get a fix (indoors or yet to acquire fix?). This likely corresponds to getMaxSatellites in the documentation.
SIG 19/∞ Average signal to noise ratio (0-40dB). This corresponds to getsnr
in the documentation. The second value is the Dilution of Precision value
. You were surely indoors  or fix just started, so without fix the error of the position is ∞. Linked wiki says readings having value  >20 should be discarded.
TTF 27s is getTimeToFirstFix meaning the time required to receive the first fix since the most recent restart of the GPS engine.


text:
What are the various technical specs of a fast charging cable?
What technical specs do I need to look for to know a cable will be compatible with my phone?
I just bought a new Motorola G7 supra and none of my existing USB type C cables work with it. I plug it in and nothing happens, no data connection and no power connection.
I don't know if it is USB speed, amperage rating / wire gauge or something else.
Also I want to know all the the technical specs so that when I buy a spare cable I can get one at least as good as the one that came with it.
This information is helpful yet does not seem to answer my question.
How does fast charging work? Here’s every single standard compared
https://www.digitaltrends.com/mobile/how-does-fast-charging-work/

Modern USB-C chargers use USB power delivery (USB-PD). For fast charging higher ampere and higher voltage levels are possible. What levels you need depends on what the Smartphone supports.

Tech specs, simply speaking is that the cable supports fast charging. But it's not as easy as that, it depends on many factors, see a selection of answers that address

You can compare the specs. Best is to check in Lenovo forums


text:
TWRP Advanced Wipe Soft Bricked?
Messed around with my Moto G7 Plus Lake on Lineage 17.1 & ended up with TWRP on partition B & Lineage Recovery on Partition A, no matter my inexpert fumblings. I somewhat unfortunately carried out an advanced wipe on A/B with TWRP & now recovery is unresponsive over ADB or touch. I assume device is toast?
So is there any procedure to rectify, or do I need pop to Shenzhen market & solder new ROM?

Boot to bootloader and use fastboot (on Windows separate drivers required) to directly boot TWRP from an image on your PC.

It says waiting for any device.

you probably wiped dtbo which isn't necessary, only wipe (impact from harmless to worst): cache, (wipe) data, (format) userdata, system, vendor (regardless of how many partitions wipeable from TWRP)

flash with QPST in EDL mode

Can this be done under Linux?

@alecxs thx for gifting that tip!

yes there is tool for linux https://android.stackexchange.com/q/224369


text:
Switch to a new Gmail email address without losing account data?
Suppose I have some cheesy gmail address that is inappropriate for putting on resumes and such.  What is the easiest way to change it, while retaining my documents in google docs, as well as photos, google music purchases and playlists, and so on?
Does Google have any provision for this, or are you supposed to start completely from scratch and painfully transfer all the data manually (as well as cancel music subscriptions and restart, etc)?

You can see chat conversation to improve your question.

From Google's support: "[...] if you'd like to transfer your data from one account to another, this may be done on a per product basis"

Your email is the key identity for Google account and you are right about starting all over again, if you delete it. See what happens to my google acct if I delete the gmail service?
If your concern is only to have a respectable mail address for correspondence you can use an email alias,for which you can't use Gmail app but alternative explained here Sending email from an alias using Gmail app


text:
How to allow a call recorder app access to call logs?
How to allow a call recorder app access to call logs?
Since Android 9 (pie) Google Play has forbidden apps that are not the primary telephony app to access the call logs. The other problem seem to be that the phone recording call quality especially of the party on the other end has seemed to be severely degraded since the prior Android version.
For context, read Google Play Store Changes SMS and Call Log Policy.
Related post: Access the call-log to complement what has been banned by policy

@beeshyams The recording quality is still very good. Every phone number is private number. Maybe I can move the old app from my old phone?

There is one additional possibility for recording one should mention: There are online services you can add as participant making it a conference call. This recording service then records the call into an online service you have an account for. Of course such a service is bad for privacy.

@Robert Another downside to those services is that they are a hassle to use with incoming calls.

Accessibility App Connectors allow access to phone call information
Android 9 (pie) app that keeps track of call details without access to call logs:Call Recorder - Cube ACR
Call Recorder - Cube ACR provides:
(a) The date and time of the call.
(b) The duration of the call.
(c) The size of the recording in bytes.
(d) The phone number or the name of the person (if in contacts).
(e) Incoming or Outgoing call.
It uses Accessibility App Connectors to get access to this data.
This answer will only work for developers of Android apps, yet works quite well in this case. It doesn't provide access to the actual call logs but it does provide access to the same information. Accessibility App Connectors allow the underlying program to "see' the data that is on the display screen and be notified of events such as placing or receiving a phone call.
The following Google Play app is an example of an app that uses this method. It records the Contact name or the phone number of all phone calls and it does this on Android 9 (Pie) without rooting the phone.
Call Recorder - Cube ACR
The above app has an app connector that lets it access the current phone number and display either the contact name or the phone number if the number is not in the phone contacts. The recorded call quality in speaker phone mode seems pretty good. This app does not require rooting the phone.
Because of the above Google Play policy change it may be the case that every phone call recorder app on Google play always has poor quality unless in speaker phone mode. The quality of many of them even in speaker phone mode seems degraded for the other caller. I tested about a dozen of the most popular apps for recording quality. This one may be the best of the twelve. I still have to run some more tests to make sure.
There is a big difference when tested on someone's voicemail message and when tested with an actual person on the other end. Quite often (even in speaker phone mode) the person on the other end is at only half the volume.

You can't unless your device is rooted or if you are running Android 8 or earlier

Details
Call logs
Thanks to Irfan who commented

On Android 9+ an app can read call logs only if it holds READ_CALL_LOG permission, which is intended to be granted only to the apps registered as default phone app (on Android 10+ it also requires whitelisting restricted permissions during app installation). Additionally apps published on Play Store cannot hold READ_CALL_LOG permission if they aren't capable of being used as default phone app which includes call recording apps.
For the same reason some call recording and other apps which need to access call logs or ongoing call's phone number publish two different versions of their apps; one on Play Store (without READ_CALL_LOG permission) and the other with the said permission.

Call recording

Android has blocked call recording from Android 9 onwards (country specfic)
. This has been resisted by several users as you can see in the issue tracker.
Only silver lining is that at some point of time it may be restored in future versions as mentioned in the issue tracker

Our development team has been adding call recording APIs on their road map.  Its something that we would like to address in a future version of Android.  However due to the security and privacy implications of such APIs it is not something we can deliver for the Q release.

Without root, you cannot overcome these limitations - poor quality of recording, one sided recording, caller identity not being tagged (as in the related question which you linked). You can see these complaints in the latest reviews of the app you linked.
Side loading an older APK isn't going to help if you are on Android 9 or above, since OS itself is blocking it. Some call recorders like Boldbeast have made Magisk modules to overcome these limitations. On OnePlus devices, you can similarly record using a Magisk module.
If you don't want to root your phone, star the issue tracker and hope that call recording and maybe access to call logs is restored in future versions

@IrfanLatif I want the same call recorder to work on my new phone the same way that it worked on my old phone. It is bad enough that my zte z956 could not be upgraded to Android 7.

So I can fix it by rotting my phone? Can I remove root after I am done? How do I fix it by rooting my phone?

Can I simply login as super user and grant READ_CALL_LOG permission to an installed app?

The other link says that I only have to find an older version of the software. The problem is not that READ_CALL_LOG permission is denied on Android 9. The problem is that apps on Google Play are not allowed to ask for READ_CALL_LOG permission.

Reply to 3 comments 1.You have to stay rooted if you want recording +call logs to be accessed  2. No to second comment 3. If you can locate an app that is available independent of the Play Store  with the required permissions, you may try. I didn't search since I don't need such apps, my device being rooted

The problem with staying rooted is any that app on the device has super user permission right? I could install a new app and it could steal my bank account passwords.

The best option seems to be to see if the older version of the app works and if it does then move the "pro" version of the older app from my old phone to my new phone.

app asks and you grant root permission, only then it had privileges. You seem to be misinformed. See [tag:rooting] wiki and it's answers 2. You can try and post your answers here

I am still not clear about the root alternative. The app asks never asks for root permissions. It only asks for: (1) make and manage phone calls (2) access photos media and files (3) record audio (4) access contacts. Will rooting my phone make phone call recording fully functional ?

I didn't say your app will work with root. On the contrary I gave examples of working with root. It's upto you to find out which rooted app works for your device /Android version //As recommended earlier please read the tag wiki of rooting before to understand better //Just to clarify again, you need to be rooted first before an app asks for privileges (ref your last comment) //I made efforts to be clear - if you still can't follow you can ask a separate question (linking this if needed).

Let me see if I have this correctly. (1) I root my  phone on Android 9 (2) Install the older app as root (3) The older apps asks for the permissions that it needs (4) Permission will be granted  (5) The app will be able to access the call logs. Is that correct?

Let us continue this discussion in chat.

Accessibility App Connectors allow access to the same information that is in the phone call logs, thus totally solves the original problem without rooting the phone.


text:
realme 3 pro stuck at bootloop (boot/recovery) has been destroyed
Hi my mobile is in boot loop
fastboot not working i have tried every button but none worked
not connecting to pic / laptop as well
any one have a solution please help
i did flash my stock rom with orangefox recovery. then mobile has no recovery after flashing the rom, but fastboot was connecting to pc.
i followed this unbrick guide working fine i perform 8) step did lock bootloader
now its not connecting to pc, booting into fastboot, but when i hold both vol button + power after some time i do hear a noice from pc the sound of connection but not showing in pc that it is connected and i do hear disconnect sound after a minute or so

Comments are not for extended discussion; this conversation has been moved to chat.

https://android.stackexchange.com/q/224131

The only option is service center bro since u locked the bootloader


text:
android phone enters bootloop after removing packageinstaller
I am trying to block my phone from installing packages from unknown sources.
I rooted my device and removed com.android.packageinstaller.
A reboot after this step forces my phone into a bootloop.
There are two questions I have:

How is the package com.android.packageinstaller related to the booting process of a phone.
Is there any way through which I can block my phone from installing packages from unknown sources. (The switch "Install From Unknown Sources" in the Setting Menu can be toggled easily and does not meet my purpose.)

Model name : Redmi Note 4,
Android version : 7.0
Thanks in advance.

Possibly related and/or duplicate: https://android.stackexchange.com/questions/174641/why-if-i-delete-the-packageinstaller-apk-on-android-6-the-whole-android-os-crash, https://android.stackexchange.com/questions/186756/how-to-block-from-installing-apk

Check logact. That's an easy way to find root cause of bootloop.


text:
How do I open a tg:// URL on Android?
I have a tg:// URL like tg://login?token=BTGjK95sf6QLckQBAZPtH_gSLOcpQoasQLCea18O9A that I want to open in the Android Telegram app.
If I paste it into Chrome address bar then it searches for the URL, rather than redirecting to the app like on a PC.
How do I open this URL?

That the link is not executed is related to the Chrome address bar. If the link is contained in an HTML page it should work. A simple "workaround" would be to send the link in an HTML E-Mail to an account that is set-up in an E-Mail app on your device. Clicking the link in the email app on your device should open it in Telegram or whatever app the URL scheme belongs to.

I found a work-around using the Telegram app and the data encoded as a QR code: open Telegram app → tap the Hamburger icon → Settings → Devices → Scan QR Code.

This edit is much less readable.


text:
Lost owner privileges on Android 10 after flashing boot image
it seems that my user on Android lost the "owner privileges": Any function or feature that is only available to the main user is disabled in the UI. Unfortunately, this includes user administration and all backup functionality. It seems that I became a secondary user, but I do have the data of the original main user.
Is there any way to get owner privileges back?
This happened after flashing different kernels of Android 10. I do have the correct stock kernel now.
Best Regards!


text:
Error when migrating data from internal microSD to internal storage despite apparent available space
I have a Moto G3 (Android 6.0) with a microSD of 2GB that I configured to use as internal storage. It's been working fine for years, but I want to upgrade to a larger and faster card. So, I'm first  trying to safely remove this microSD. When I try to migrate data from the microSD card to my phone's internal storage, it fails with the following message:

Couldn't move data
Data left at original location

However, I thought I cleaned up enough space, as described in this answer. I removed several apps, cleaned data and cache. The microSD reports zero apps and cached data used. Here's the current disk usage:

Android OS: 4.19GB
Internal storage: 7.68GB of 11.81GB
SanDisk SD card: 1.78GB used of 1.80GB

I checked this answer, but it seems different because there the microSD is used as portable storage, instead of internal. This answer seems closer, Droidriven says the /data partition might be the culprit:

Droidriven (reply #13):
You probably have too many apps to move everything to internal, you have plenty of storage but your /data partition probably isn't big enough.
You'll have to backup the apps and data, and store it on PC, then uninstall the apps. Then migrate what is left. Then go from there. You can put the apps and data back after you get done if you have enough space or another sdcard.

Using adb, it seems /data partition has space, though:
$ df
Filesystem               Size     Used     Free   Blksize
/dev                   439.2M    88.0K   439.1M   4096
/sys/fs/cgroup         439.2M    12.0K   439.2M   4096
/mnt                   439.2M     0.0K   439.2M   4096
/system                  2.2G     1.7G   511.2M   4096
/data                   11.8G     7.6G     4.2G   4096
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/cache                 248.0M   242.8M     5.1M   4096
/persist                 3.9M   192.0K     3.7M   4096
/firmware               35.2M    31.5M     3.7M   4096
/fsg                     2.1M     2.1M     1.0K   1024
/storage               439.2M     0.0K   439.2M   4096
/mnt/expand/6318ae65-dd0e-47fb-be4d-522416bf8877     1.8G     1.8G    16.0M   4096
/mnt/runtime/default/emulated: Permission denied
/storage/emulated       11.8G     7.6G     4.2G   4096
/mnt/runtime/read/emulated: Permission denied
/mnt/runtime/write/emulated: Permission denied

I think this is the right track, though, it looks like something related to a partition that doesn't fit.
Where can I look for more info? Can I use adb to perform this migration? Maybe the error messages will be more detailed.
EDIT: One thing I noticed after talking to someone at AndroidQuestions' Discord is that, since before I started cleaning up space, the SanDisk SD Card always showed 0.00 bytes allocated for Apps and Cache and 1.78GB used of 1.80GB. Even after I cleaned up around 4GB of storage, it still showed the same numbers. Is it possible that the SD card used as internal storage will always show these stats because it has been allocated by the OS? Thus, it is actually already empty and I can try to eject it without data loss.
I'll give it a try and post an update later.

Despite the SD card was showing as 1.78GB used out of 1.80GB, it was already empty. So, I formatted as portable and ejected without data loss.
As I reported in my question, there were no apps or cache stored in it. It showed as used because it was formatted as internal, although it didn't have any data in it. About the option to migrate data back and failing when attempted, I think it's some buggy interface as this is an old Android version and the first one to provide this feature (internal storage).


text:
app for typing with your PC keyboard
Is there a app or something for android that let's you type through your PC on your device? Pecking on your small android screen seems so painful, I'd really prefer if a hostspot or wifi connected  existed that let you type from your computer's keyboard.

You can use scrcpy on your PC. It can show you screen content as well as allows you to send your keystrokes back to Android. Works pretty well.

You can simulate entered text on-device via adb: adb input text "<text to be typed here>"

Take note that questions directly asking for app recommendations are off-topic. Instead, we prefer the asker to just state the underlying problem that they want to solve and not putting any restriction for apps-only, so we'd appreciate it if you could [edit] the question, add some details and/or remove the restriction. Otherwise, you might be interested in our sister site, Software Recommendations Stack Exchange instead.

I use a bluetooth keyboard but you can connect any USB keyboard to your phone or tablet with the correct adapter and no app is required.

I see. But, I would prefer software solution if possible


text:
No slot (not A or B) selected but can get to bootloader screen and use fastboot
long story short I messed up my phone trying to get TWRP/root/magisk on my razer 1 phone (I can provide gruesome details if requested). I can fastboot and get to the bootloader screen. I seem to be stuck, I can't do anything since I have no slot selected on my phone. Any thoughts on how to get a slot selected or to repair this in general? I appreciate any help, thank you very much.
C:\Razer\platform-tools>fastboot flash boot twrp-3.2.2-0-cheryl.img && fastboot reboot
fastboot: error: Failed to identify current slot

C:\Razer\platform-tools>fastboot --set-active=a
Setting current slot to 'a'                        FAILED (remote: 'set_active failed')
fastboot: error: Command failed

C:\Razer\platform-tools>fastboot --set-active=b
Setting current slot to 'b'                        FAILED (remote: 'set_active failed')
fastboot: error: Command failed

C:\Razer\platform-tools>fastboot getvar current-slot
current-slot:
Finished. Total time: 0.001s

If this a typo? fastboot flash boot twrp-3.2.2-0-cheryl.img usually you use fastboot flash or fastboot boot but not both at the same time. In your case I recommend only to use fasboot boot as it may work without an active selected slot.

@Robert active slot still needs to be selected for /system, /vendor etc.

@IrfanLatif But a recovery should be able to work without. Otherwise the situation of the asker would be a total dead lock aka bricked device.

@Robert without slot selection recovery too won't be able to know which /system and which /vendor to mount or flash. And A/B devices have no recovery partition officially. Even the fastboot is part of aboot or abl which is abl_a or abl_b. So fastboot itself is loaded from a slot. But it's only the bootloader which sets active slot to boot from on next reboot. If slot selection doesn't work, flashing factory firmware through fastboot or at even low level service mode would be the only option. But I haven't played with this practically, so cannot be sure.


text:
Apps from Google Play without logging into to Google Play
I want to get apps from Google Play without logging in to Google Play or using a google account.  I just dont want google to have this information.
Is it possible ?

Aurora Store offers an anonymous login option.

I have read about cleanapk.org which aims to provide important apps from Google Play for non-Google devices and CustomROM such as /e/. But I have not found out how to use cleanapk.org.

I don't know of any way to access google play without an account but many of the apts on the play store can be downloaded from F-Droid.

I wouldn't say many. :)

In fact very few.

Actually there are some alternatives to the GooglePlay Store out there - all with different approaches. F-Droid's goal is to provide only FOSS (free open source sofware) Apps.
Others would be for example https://apkpure.com/
Back to you main question: YES you can access the Google Play Store and load Apps directly from there without an Google Account. As mentioned in the commends one popular solution is the Aurora Store (also available on F-Droid). What it does is, it takes your request and sends it with an faked Account to the Google Play API to get the Apps. So Google will log that an App was downloaded, maybe some more information like Country (not sure what is required by the API) BUT without your real identity.


text:
Delete "Not assigned" Contact Group on Samsung Galaxy S9+
On my Samsung Galaxy S9+ in my Contacts app, I have a group called "Not assigned" with 712 contacts.  How do I delete this group and its contacts that are not in other groups?
These contacts are not sync to Google.  The rest of the contacts are.

If you got those 'Not assigned' contact from a google account then you are in luck.

Log in back to that google account to which those 'Not assigned' contacts belong.
Once you log in, those 'Not assigned' will be assigned back to the google account that you just added.
Select that google account in the display option.
Now you'll be able to bulk select all contacts and delete them.
(Note: it will also be deleted from your synced google account but you can easily and quickly recover it from https://contacts.google.com/trash or from VCF file)
Now you can remove your google account from your Samsung device without leaving any 'Not assigned' contacts.

Not the solution I was looking for, but I tapped on each contact and deleted it.  This required 4 taps per contact.  My wrist was getting sore half way through.  It took me about 1 hour.


text:
Can I remove the default clock without rooting my phone?
I have a modern Pixel Android phone on the most up to date version of Android.
I'd like to not show the time on the homescreen and the topbar.
I've seen many solutions that include rooting the phone.
Is it possible to get rid of these two clocks without rooting the device?

You can use adb to do this without root (But you need a PC). First download Android platform tools from https://developer.android.com/studio/releases/platform-tools now unzip them in a folder in your PC.
Go to that folder and open Command Prompt. Now in your phone, find the build number and tap it 7-8 times to enable Developer Options. Now open Developer Options and enable USB debugging. Then plug your phone with your PC. Confirm the box.
Now first type adb devices. Then enter the command adb shell to start adb shell. Now type the command pm list packages | grep "clock" or if you have problem with grep then use pm list packages | find "clock". Find the package name of default clock. Now use pm uninstall -k --user 0 package-name. If you see Success message, then clock app will be removed.

Are you sure that the time shown in the top/status bar is shown by the clock app?

Yes, that is shown by clock


text:
I cant delete a google drive archive (pd: sorry for my bad english)
Ok so long time ago my google drive account was like ban so of course i cant use it but for some reason when i enter the google drive mobile app its appears some wierd photos i tried to delete but obviouly my account was banned so it pop up a message saying unable to open the menu of the archive
If there another way to delete this fotos

Here's what you can try to delete photos from "Album Archive" (if that's the issue)

In Auto-backup select the folder holding a picture or pictures

Click the 3 dot option: Manage in Google Photos

select the photos followed by the 3 dot option to Move to trash

When empty refresh the page by hitting F5 on Windows or the refresh circular arrow to the left of the URL

Wait until the page is fully reloaded
If the deleted photos reappear, you can go to https://photos.google.com/ and click on the 3 bar menu: Help and feedback: Send feedback, and copy/paste the following sentence:-

I provide consent for you to look into my account in order investigate  issue #b_120099634
followed by the folder name causing problems and any other information you determine is important.

Its doenst work, the photos reapper in google drive

Is there like a way to unbann my google drive account?

I think your google drive acc can't be banned separately from an entire google act, if that makes sense. You can request access to it again and try to restore your account. Sign in to your Google Account on a browser, then choose "Try to restore and just follow the instructions. And also they have a specific form that you have to fill out if you have issues with your request. https://support.google.com/accounts/contact/disabled2


text:
How an Android app can restrict all my accounts on my phone?
I'm using multiple accounts for an android app in my phone. today the app blocked all my accounts because it's not allowed to have more than one . I've had android 10 on my phone . the question is:

what type of data an app knows about my phone?
how they know I'm using multiple accounts?
What's the solution for this? how can i remain hidden with multiple accounts on one mobile phone?

App link :Slowly

For 1. Whatever is said in app permissions 2. GET_ACCOUNTS permission 3. Usually by rooting your phone and preventing such access //[Edit] to mention your device and Android version

Is this an offline or online app? If this is an online app, there's a possibility that the server blocks them by fingerprinting the device.

this is an online app. I've uploaded permission list and my android is 10. does it help ?

General way to identify you or your device
What information the app (and therefore the operator of the app) has about your device depends on the permissions the app have and the Android version installed on your devices (Google makes it harder to gain access to phone identifiers with ever release).
The most important ways to identify your device are:

Telephone number (depends on the SIM card, requires READ_PHONE_STATE permission)
IMEI (hard coded in your phone, requires READ_PHONE_STATE permission)
Android-ID (a random number generated on first start of the device, factory-reset clears it. Since Android 8 every app sees a different but static Android-ID)
Google Advertising ID (randomly generated, can be re-generated in Google settings)
List of active accounts on your device (requires GET_ACCOUNTS permission)

Of course for online-services there exists various indicators that may indicate that only one device is used such as the IP address you use (especially relevant if IPv6 is used), and of course your usage. If two accounts are used from the same IP address but are never online at the same time this another good indicator.
Some those identifiers may change if you use a second user profile on your device, others will stay the same.
In conclusion the only way to totally avoid getting detected as one user is to use two devices that use different accounts for every stored account (especially the Google account).
Slowly app
The slowly app has the following permissions:
android.permission.ACCESS_COARSE_LOCATION
android.permission.ACCESS_FINE_LOCATION
android.permission.ACCESS_NETWORK_STATE
android.permission.ACCESS_WIFI_STATE
android.permission.CAMERA
android.permission.INTERNET
android.permission.READ_APP_BADGE
android.permission.READ_EXTERNAL_STORAGE
android.permission.RECEIVE_BOOT_COMPLETED
android.permission.RECORD_AUDIO
android.permission.USE_FINGERPRINT
android.permission.VIBRATE
android.permission.WAKE_LOCK
android.permission.WRITE_EXTERNAL_STORAGE
com.anddoes.launcher.permission.UPDATE_COUNT
com.android.vending.BILLING
com.android.vending.CHECK_LICENSE
com.google.android.c2dm.permission.RECEIVE
com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE
com.htc.launcher.permission.READ_SETTINGS
com.htc.launcher.permission.UPDATE_SHORTCUT
com.huawei.android.launcher.permission.CHANGE_BADGE
com.huawei.android.launcher.permission.READ_SETTINGS
com.huawei.android.launcher.permission.WRITE_SETTINGS
com.majeur.launcher.permission.UPDATE_BADGE
com.oppo.launcher.permission.READ_SETTINGS
com.oppo.launcher.permission.WRITE_SETTINGS
com.sec.android.provider.badge.permission.READ
com.sec.android.provider.badge.permission.WRITE
com.sonyericsson.home.permission.BROADCAST_BADGE
com.sonymobile.home.permission.PROVIDER_INSERT_BADGE
me.everything.badger.permission.BADGE_COUNT_READ
me.everything.badger.permission.BADGE_COUNT_WRITE

As you can see none of the afore-mentioned permissions are present. But I am not very familiar with some of the permissions. Thinking of how I would implement suc a check I see two additional possibilities:
The permissions com.android.vending.* allow to talk to the Play Services and identify your "license" - mainly this is for checking on in-app purchases, but even free apps without in-app purchases are managed by the Google Play Store and therefore get a license. may be this allows to identify if an the app is installed on two devices with the same Google account?
Additionally WRITE_EXTERNAL_STORAGE can be used by the app to write an identifier somewehere on your internal storage. This file can even survive if you execute delete Sloly's app storage and cache and therefore can be used as permanent identifier of your device.

I've added some more data to my question. would you olz take a look?


text:
USB disconnects on Samsung Galaxy A51
I have Samsung Galaxy A51 (SM A515F) running latest official Android 10 and macOS 10.15 development machine.
ADB authorization is given, but sometimes (~ once per 30 minutes) it disconnects and shows the dialog again.
It happens only with this device (I have ~10 different devices). I've tried different USB ports and cables (including one that was shipped with device) with no luck.
I see the device in the ioreg output:
SAMSUNG_Android@00400000  <class AppleUSBDevice, id 0x100fbd4da, registered, matched, active, busy 0 (2 ms), retain 18>

But not in the adb devices output:
$ adb devices
List of devices attached

It connects again only after few repeatedly accepted dialogs and re-connection.
How to fix it?
UPD. Now it just periodically disconnects and reconnects, sometimes with prompt, sometimes without it.
Logs at the disconnection time (removed unrelated lines):
06-16 18:04:54.650 12533 13319 D SDHMS:com.sec.android.sdhms.thermal.siop.y: SIOP:: AP:261(261,0) BAT:263(263,0) CHG:263(263,0) USB:0(0,0) WIFI:209(260,50) LRP:268(268,0) LRF:266(266) LRB:268(268)
06-16 18:04:54.758 18551   346 I adbd    : USB event: FUNCTIONFS_SUSPEND
06-16 18:04:54.953   361   389 E libmtp  : [mtp_simple_sink_thread : 0315] -->[mtp_simple_sink_thread, 315] !!!!!! read failed errno [5], error [I/O error]
06-16 18:04:54.954 18551   346 I adbd    : USB event: FUNCTIONFS_DISABLE
06-16 18:04:54.955  4571  4596 D DataRouter: After the usb select
06-16 18:04:54.955  4571  4596 D DataRouter: read length is zero
06-16 18:04:54.955  4571  4596 D DataRouter: dr_usb_deinit
06-16 18:04:54.956  4571  4596 D DataRouter: dr_usb_init
06-16 18:04:54.956  5019  5749 V UsbDeviceManager: USB UEVENT: {SUBSYSTEM=android_usb, SEQNUM=9235, ACTION=change, USB_STATE=DISCONNECTED, DEVPATH=/devices/virtual/android_usb/android0}
06-16 18:04:54.956  4571  4596 E DataRouter: USB Interface is open with 0x6
06-16 18:04:54.956  4571  4596 D DataRouter: USB interface is now configured for usb_fd = 0x6
06-16 18:04:54.956   361   389 E libmtp  : [mtp_simple_sink_thread : 0362] -->[mtp_simple_sink_thread 362] read error [0] [Success]
06-16 18:04:54.957  5019  5749 D UsbDeviceManager: updateState: state=DISCONNECTED
06-16 18:04:54.957  4571  4596 D DataRouter: Before the usb select
06-16 18:04:54.958   361   361 W MTPRx   : notification from stack 21
06-16 18:04:54.959   361   361 W MTPRx   : Read Error Came so calling usbRemoved()
06-16 18:04:54.962 18551   358 I adbd    : UsbFfs: connection terminated: read 39577 failed with error Cannot send after transport endpoint shutdown
06-16 18:04:54.962   361   361 D MTPRx   : MTP_RUNNING_STATUS = 1
06-16 18:04:54.964 18551 18551 I adbd    : UsbFfs: offline
06-16 18:04:54.968   361   361 D MTPRx   : battery status : Full
06-16 18:04:54.969   361   361 D MTPRx   : usb data role status : host [device]
06-16 18:04:54.969   361   361 D MTPRx   :  sendbooster is false!
06-16 18:04:54.969   361   361 D MTPRx   : In usbRemoved Status bar enabled
06-16 18:04:54.970  5019 13123 D SettingsProvider: isChangeAllowed() : name = mtp_running_status
06-16 18:04:54.973   361   361 D MTPRx   : inside finishSync
06-16 18:04:54.974  5019 13123 D SettingsProvider: isChangeAllowed() : name = mtp_sync_alive
06-16 18:04:54.974  5019  5019 V SettingsProvider: Notifying for 0: content://settings/system/mtp_running_status
06-16 18:04:54.990   361   361 I MTPRx   : action : A, selection : 0, update : 0
06-16 18:04:54.995   361   361 I MTPRx   : action : D, selection : 0, update : 0
06-16 18:04:54.996   361   361 I MTPRx   : It's not file transfer case. skip scan.
06-16 18:04:54.998  5019 13123 D SettingsProvider: isChangeAllowed() : name = mtp_drive_display
06-16 18:04:55.000  5019  5019 V SettingsProvider: Notifying for 0: content://settings/system/mtp_drive_display
06-16 18:04:55.001  5019 13123 D SettingsProvider: isChangeAllowed() : name = mtp_sync_alive
06-16 18:04:55.003  5019 13123 D SettingsProvider: isChangeAllowed() : name = mtp_open_session
06-16 18:04:55.005  5019 13123 D SettingsProvider: isChangeAllowed() : name = mtp_event_status
06-16 18:04:55.007   361   361 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.stopService:1644 android.content.ContextWrapper.stopService:693 android.content.ContextWrapper.stopService:693 com.samsung.android.MtpApplication.MtpReceiver.usbRemoved:959 com.samsung.android.MtpApplication.MtpReceiver$1.handleMessage:623
06-16 18:04:55.012   361   361 E MtpService: onDestroy.
06-16 18:04:55.021   361   361 E MtpService: Unregister Mtp disable Receiver
06-16 18:04:55.023   361   361 E MtpService: Receiver not registered: com.samsung.android.MtpApplication.MtpService$1@1fdfbaa
06-16 18:04:55.023   361   361 E MtpService: Unregister mtpEmergencyReceiver
06-16 18:04:55.023   361   361 E MtpService: Receiver not registered: com.samsung.android.MtpApplication.MtpService$2@b4e239b
06-16 18:04:55.024   361   361 E MtpService: unregistering mtpUserPresentReceiver in UnregisterAllIntent
06-16 18:04:55.024   361   361 E MtpService: Receiver not registered: com.samsung.android.MtpApplication.MtpService$4@58afe95
06-16 18:04:55.024   361   361 E MTPJNIInterface: noti = 103
06-16 18:04:55.026   361   361 E libmtp  : [mtp_usb_mtp_finalize : 1207] -->****** [mtp_usb_mtp_finalize 1207] mtp_close_fd Calling
06-16 18:04:55.026   361   361 E libmtp  : [mtp_close_fd : 0118] -->[mtp_close_fd 118]  fd = 63...
06-16 18:04:55.027   361   361 E libmtp  : [mtp_close_fd : 0126] -->[mtp_close_fd 126] USB endpoint [63] closed...
06-16 18:04:55.027   361   361 E libmtp  : [mtp_usb_mtp_finalize : 1210] -->****** [mtp_usb_mtp_finalize 1210] Updating the gInitializeFlag Flag to FALSE
06-16 18:04:55.027   361   361 E libmtp  : [mtp_usb_mtp_finalize : 1213] -->****** [mtp_usb_mtp_finalize 1213] Calling mtp_stop_io
06-16 18:04:55.078  5019 13123 I ActivityManager: Process com.samsung.android.MtpApplication (pid 361) has died: fore SVC (133,1457)
06-16 18:04:55.078  4473  4473 I Zygote  : Process 361 exited due to signal 9 (Killed)
06-16 18:04:55.079  5019  5079 I libprocessgroup: Successfully killed process cgroup uid 1000 pid 361 in 0ms

.....

06-16 18:05:02.373  5019  5749 V UsbDeviceManager: USB UEVENT: {SUBSYSTEM=android_usb, SEQNUM=9236, ACTION=change, USB_STATE=CONNECTED, DEVPATH=/devices/virtual/android_usb/android0}
06-16 18:05:02.374  5019  5749 D UsbDeviceManager: updateState: state=CONNECTED
06-16 18:05:02.375  5019  5065 D UsbDeviceManager: handleMessage -> MSG_UPDATE_STATE: connected=1 configured=0 mCurrentFunctions=mtp,adb
06-16 18:05:02.376 18551 18551 I adbd    : ADB disconnect
06-16 18:05:02.376  5019  5065 D UsbDeviceManager: updateUsbNotification(false): mConnected=true mConfigured=false mCurrentFunctions=mtp,adb mHostConnected=false mSourcePower=false mSinkPower=true mUsbCharging=true mUseUsbNotification=true
06-16 18:05:02.377 18551 18551 I adbd    : destroying transport UsbFfs
06-16 18:05:02.377  5019  5065 D UsbDeviceManager: Set mCurrentFunctionsForNoti=mtp
06-16 18:05:02.378  5019  5065 D DexObserverFW: isDexModeOn() : false
06-16 18:05:02.379  5019  5065 D DexObserverFW: isSemiDexModeOn() : false
06-16 18:05:02.379  5019  5065 D UsbDeviceManager: id=27 mUsbNotificationId=0
06-16 18:05:02.380 18551 18551 I adbd    : UsbFfsConnection being destroyed
06-16 18:05:02.387  5019 11795 D AdbDebuggingManager: Received disconnected message: QAAAAOsGB9Q9jjdIsZsXUzWPPWEMVNgaaS3689iWePOe7c0NPGKYt468zzKCJBduNiM+hkaGo2kl3yDDr0Hc4NiVVDehD1QO+WOJZRRuxU41eowVvWtKdmyPlPfHwKvbe9p8VOorjjUqape9355q00XhFsSb84/zjmS/zWSKhTiH95lXRFRgfpPtQ7hDT9nuWOVZgEIClJTOOC2roUA0XZ6TUpMr/dFeOf1sU6XP9OW3TdPCXaVqMAY8E+D+69z/UNB/QTzFoVBhQQorM4+v/Sv9A+8ltpetFvzVYcuSEVnKQGLs2f31azHy/pVBouL6dcinnlsg1D3jE4EcYfGfFYyQxzpPhpGqm+OCpxwMjIIHUP+9oHNr7mmGsEu9JlF/23ipn5lZOsSh3t3pSPUsM4JrdaOrPDsjuBdTE8RGY+dcb52Ak4UmF7AKWcONU5p/SVrmzm0Uh/B+ElYhe9QTLshDejIXZ84o0sm66NPh0Hq+o2nHqaHLsyXvFcXhm+mMjeBkP0G2lXTdtLEU8bfa4uUrK9NE17pm9e4zbp+i6ndIudRQCOYZp9DzSoQGxsl3MRTOS4XQmBjYkr5WYhVjqt+gls5xA5UcCByeG0YmlUlbrGa3NLguTrZ75eKORdWOy/Pmyru5UyIrJoiuDHJBZ2Sxn4DCZnJHJv0iREX8YkcBykhOs9XbigEAAQA= rankor@Artems-iMac.local
06-16 18:05:02.388  5019  5749 V UsbDeviceManager: USB UEVENT: {SUBSYSTEM=android_usb, SEQNUM=9237, ACTION=change, USB_STATE=CONFIGURED, DEVPATH=/devices/virtual/android_usb/android0}
06-16 18:05:02.388  5019  5749 D UsbDeviceManager: updateState: state=CONFIGURED
06-16 18:05:02.400  5019  5065 D UsbDeviceManager: updateUsbNotification notifyAsUser: id=0 title=USB for file transfer
06-16 18:05:02.401  5019  5065 D UsbDeviceManager: updateUsbStateBroadcastIfNeeded: remainingFunctions=5
06-16 18:05:02.402  5019  5065 D UsbDeviceManager: broadcasting Intent { act=android.hardware.usb.action.USB_STATE flg=0x31000000 (has extras) } extras: Bundle[{host_connected=false, connected=true, unlocked=true, config_changed=false, adb=true, mtp=true, configured=false}]
06-16 18:05:02.404  5019  5065 D UsbDeviceManager: sending intent ACTION_USB_STATE: connected=true configured=false mCurrentFunctions=5 mHostConnected=false
06-16 18:05:02.406  5019  5065 D AdbDebuggingManager: Logging key QAAAAOsGB9Q9jjdIsZsXUzWPPWEMVNgaaS3689iWePOe7c0NPGKYt468zzKCJBduNiM+hkaGo2kl3yDDr0Hc4NiVVDehD1QO+WOJZRRuxU41eowVvWtKdmyPlPfHwKvbe9p8VOorjjUqape9355q00XhFsSb84/zjmS/zWSKhTiH95lXRFRgfpPtQ7hDT9nuWOVZgEIClJTOOC2roUA0XZ6TUpMr/dFeOf1sU6XP9OW3TdPCXaVqMAY8E+D+69z/UNB/QTzFoVBhQQorM4+v/Sv9A+8ltpetFvzVYcuSEVnKQGLs2f31azHy/pVBouL6dcinnlsg1D3jE4EcYfGfFYyQxzpPhpGqm+OCpxwMjIIHUP+9oHNr7mmGsEu9JlF/23ipn5lZOsSh3t3pSPUsM4JrdaOrPDsjuBdTE8RGY+dcb52Ak4UmF7AKWcONU5p/SVrmzm0Uh/B+ElYhe9QTLshDejIXZ84o0sm66NPh0Hq+o2nHqaHLsyXvFcXhm+mMjeBkP0G2lXTdtLEU8bfa4uUrK9NE17pm9e4zbp+i6ndIudRQCOYZp9DzSoQGxsl3MRTOS4XQmBjYkr5WYhVjqt+gls5xA5UcCByeG0YmlUlbrGa3NLguTrZ75eKORdWOy/Pmyru5UyIrJoiuDHJBZ2Sxn4DCZnJHJv0iREX8YkcBykhOs9XbigEAAQA= rankor@Artems-iMac.local, state = 7, alwaysAllow = true, lastConnectionTime = 1592319902404, authWindow = 604800000
06-16 18:05:02.407  5019  5065 D UsbDeviceManager: handleMessage -> MSG_UPDATE_STATE: connected=1 configured=1 mCurrentFunctions=mtp,adb
06-16 18:05:02.408  5019  5065 D UsbDeviceManager: updateUsbNotification(false): mConnected=true mConfigured=true mCurrentFunctions=mtp,adb mHostConnected=false mSourcePower=false mSinkPower=true mUsbCharging=true mUseUsbNotification=true
06-16 18:05:02.409  5019  5065 D UsbDeviceManager: Set mCurrentFunctionsForNoti=mtp
06-16 18:05:02.409  5019  5065 D DexObserverFW: isDexModeOn() : false
06-16 18:05:02.410  5019  5065 D DexObserverFW: isSemiDexModeOn() : false
06-16 18:05:02.411  5019  5065 D UsbDeviceManager: id=27 mUsbNotificationId=27
06-16 18:05:02.411  5019  5065 D UsbDeviceManager: updateUsbStateBroadcastIfNeeded: remainingFunctions=5
06-16 18:05:02.412  5019  5065 D UsbDeviceManager: broadcasting Intent { act=android.hardware.usb.action.USB_STATE flg=0x31000000 (has extras) } extras: Bundle[{host_connected=false, connected=true, unlocked=true, config_changed=false, adb=true, mtp=true, configured=true}]
06-16 18:05:02.423 18551 18564 I adbd    : opening control endpoint /dev/usb-ffs/adb/ep0
06-16 18:05:02.425  4571  4596 D DataRouter: After the usb select
06-16 18:05:02.425  4571  4596 D DataRouter: read length is zero
06-16 18:05:02.425  4571  4596 D DataRouter: dr_usb_deinit
06-16 18:05:02.425  5019  5749 V UsbDeviceManager: USB UEVENT: {SUBSYSTEM=android_usb, SEQNUM=9239, ACTION=change, USB_STATE=DISCONNECTED, DEVPATH=/devices/virtual/android_usb/android0}
06-16 18:05:02.425  4571  4596 D DataRouter: dr_usb_init
06-16 18:05:02.426  5019  5749 D UsbDeviceManager: updateState: state=DISCONNECTED
06-16 18:05:02.426  4571  4596 E DataRouter: USB Interface is open with 0x6
06-16 18:05:02.426  4571  4596 D DataRouter: USB interface is now configured for usb_fd = 0x6
06-16 18:05:02.426  4571  4596 D DataRouter: Before the usb select
06-16 18:05:02.433  5019  5065 D UsbDeviceManager: sending intent ACTION_USB_STATE: connected=true configured=true mCurrentFunctions=5 mHostConnected=false
06-16 18:05:02.439 18551 18564 I adbd    : UsbFfsConnection constructed
06-16 18:05:02.441  3319  3319 D MTPRx   : In MtpReceiverandroid.hardware.usb.action.USB_STATE
06-16 18:05:02.504 18551  3364 I adbd    : USB event: FUNCTIONFS_BIND
06-16 18:05:02.524  3319  3319 I MTPRx   : getUsbdebugStatus is false
06-16 18:05:03.460 18551 18551 W adbd    : timeout expired while flushing socket, closing
06-16 18:05:03.929  5019  5065 D UsbDeviceManager: handleMessage -> MSG_UPDATE_STATE: connected=0 configured=0 mCurrentFunctions=mtp,adb
06-16 18:05:03.930  5019  5065 D UsbDeviceManager: updateUsbNotification(false): mConnected=false mConfigured=false mCurrentFunctions=mtp,adb mHostConnected=false mSourcePower=false mSinkPower=true mUsbCharging=true mUseUsbNotification=true
06-16 18:05:03.931  5019  5065 D UsbDeviceManager: Set mCurrentFunctionsForNoti=mtp
06-16 18:05:03.932  5019  5065 D DexObserverFW: isDexModeOn() : false
06-16 18:05:03.932  5019  5065 D DexObserverFW: isSemiDexModeOn() : false
06-16 18:05:03.933  5019  5065 D UsbDeviceManager: id=0 mUsbNotificationId=27
06-16 18:05:03.934  5019  5065 D UsbDeviceManager: updateUsbNotification cancelAsUser: id=27
06-16 18:05:03.935  5019  5065 D UsbDeviceManager: updateUsbStateBroadcastIfNeeded: remainingFunctions=5
06-16 18:05:03.935  5019  5019 D EdgeLightingManager: isCallingUserSupported : callingUserId=-1, mUserId=0, isDualAppId=false
06-16 18:05:03.935  5019  5065 D UsbDeviceManager: broadcasting Intent { act=android.hardware.usb.action.USB_STATE flg=0x31000000 (has extras) } extras: Bundle[{host_connected=false, connected=false, unlocked=true, config_changed=false, adb=true, mtp=true, configured=false}]
06-16 18:05:03.937  5019  5019 D LightsService: [api] [SvcLED] turnOff:: id = 4 (uid: 1000 pid: 5019)
06-16 18:05:03.937  5019  5019 D LightsService: [api] [SvcLED] LED indicator : Not supported.
06-16 18:05:03.940  5019  5065 D UsbDeviceManager: sending intent ACTION_USB_STATE: connected=false configured=false mCurrentFunctions=5 mHostConnected=false
06-16 18:05:03.943  5019  5019 D UsbMirrorLinkManager: !usbConnected
06-16 18:05:03.951  5019  5065 D KnoxCustomManagerService: getUsbConnectionTypeInternal(0)
06-16 18:05:03.951  5019  5065 D UsbDeviceManager: getPersistProp: return=persist.sys.usb.config
06-16 18:05:03.952  5019  5065 D UsbDeviceManager: ANAWAY_JIG_PATH is not exist.
06-16 18:05:03.953  5019  5065 D UsbDeviceManager: setEnabledFunctions: usbFunctions=mtp,adb forceRestart=false usbDataUnlocked=true mCurrentFunctions=mtp,adb
06-16 18:05:03.953  5019  5065 D UsbDeviceManager: setEnabledFunctions: Before validation LONG[5]
06-16 18:05:03.954  5019  5065 D SecContentProvider: query(), uri = 17 selection = isUsbDebuggingEnabled
06-16 18:05:03.954  5019  5065 D SecContentProvider: called from android.uid.system:1000
06-16 18:05:03.955  5019  5065 D RestrictionPolicy: isUsbDebuggingEnabled : true
06-16 18:05:03.955  5019  5065 D UsbDeviceManager: policy : adb, restrict(allow) = true
06-16 18:05:03.962  5019  5065 D UsbDeviceManager: setEnabledFunctions: After validation STR[mtp,adb], LONG[5]
06-16 18:05:03.963  5019  5065 D UsbDeviceManager: trySetEnabledFunctions: usbFunctions=mtp,adb forceRestart=false
06-16 18:05:04.032  3319  3319 E libmtp  : [mtp_usb_mtp_finalize : 1207] -->****** [mtp_usb_mtp_finalize 1207] mtp_close_fd Calling
06-16 18:05:04.032  3319  3319 E libmtp  : [mtp_close_fd : 0118] -->[mtp_close_fd 118]  fd = 63...
06-16 18:05:04.032  3319  3319 E libmtp  : [mtp_close_fd : 0126] -->[mtp_close_fd 126] USB endpoint [63] closed...
06-16 18:05:04.032  3319  3319 E libmtp  : [mtp_usb_mtp_finalize : 1210] -->****** [mtp_usb_mtp_finalize 1210] Updating the gInitializeFlag Flag to FALSE
06-16 18:05:04.032  3319  3319 E libmtp  : [mtp_usb_mtp_finalize : 1213] -->****** [mtp_usb_mtp_finalize 1213] Calling mtp_stop_io
06-16 18:05:04.049 12533 12558 W System  : A resource failed to call close.
06-16 18:05:05.255  5019  5749 V UsbDeviceManager: USB UEVENT: {SUBSYSTEM=android_usb, SEQNUM=9241, ACTION=change, USB_STATE=CONNECTED, DEVPATH=/devices/virtual/android_usb/android0}
06-16 18:05:05.257  5019  5749 D UsbDeviceManager: updateState: state=CONNECTED
06-16 18:05:05.258 18551  3364 I adbd    : USB event: FUNCTIONFS_ENABLE
06-16 18:05:05.258  5019  5065 D UsbDeviceManager: handleMessage -> MSG_UPDATE_STATE: connected=1 configured=0 mCurrentFunctions=mtp,adb
06-16 18:05:05.259  5019  5065 D UsbDeviceManager: updateUsbNotification(false): mConnected=true mConfigured=false mCurrentFunctions=mtp,adb mHostConnected=false mSourcePower=false mSinkPower=true mUsbCharging=true mUseUsbNotification=true
06-16 18:05:05.260  5019  5065 D UsbDeviceManager: Set mCurrentFunctionsForNoti=mtp
06-16 18:05:05.261  5019  5065 D DexObserverFW: isDexModeOn() : false
06-16 18:05:05.262  5019  5749 V UsbDeviceManager: USB UEVENT: {SUBSYSTEM=android_usb, SEQNUM=9242, ACTION=change, USB_STATE=CONFIGURED, DEVPATH=/devices/virtual/android_usb/android0}
06-16 18:05:05.263  5019  5749 D UsbDeviceManager: updateState: state=CONFIGURED
06-16 18:05:05.270  5019  5065 D DexObserverFW: isSemiDexModeOn() : false
06-16 18:05:05.271  5019  5065 D UsbDeviceManager: id=27 mUsbNotificationId=0
06-16 18:05:05.284  5019  5065 D UsbDeviceManager: updateUsbNotification notifyAsUser: id=0 title=USB for file transfer
06-16 18:05:05.286  5019  5065 D UsbDeviceManager: updateUsbStateBroadcastIfNeeded: remainingFunctions=5
06-16 18:05:05.286  5019  5065 D UsbDeviceManager: broadcasting Intent { act=android.hardware.usb.action.USB_STATE flg=0x31000000 (has extras) } extras: Bundle[{host_connected=false, connected=true, unlocked=true, config_changed=false, adb=true, mtp=true, configured=false}]
06-16 18:05:05.289  5019  5065 D UsbDeviceManager: sending intent ACTION_USB_STATE: connected=true configured=false mCurrentFunctions=5 mHostConnected=false
06-16 18:05:05.289  5019  5065 D UsbDeviceManager: handleMessage -> MSG_UPDATE_STATE: connected=1 configured=1 mCurrentFunctions=mtp,adb
06-16 18:05:05.290  5019  5065 D UsbDeviceManager: updateUsbNotification(false): mConnected=true mConfigured=true mCurrentFunctions=mtp,adb mHostConnected=false mSourcePower=false mSinkPower=true mUsbCharging=true mUseUsbNotification=true
06-16 18:05:05.290  5019  5065 D UsbDeviceManager: Set mCurrentFunctionsForNoti=mtp
06-16 18:05:05.291  5019  5065 D DexObserverFW: isDexModeOn() : false
06-16 18:05:05.291  5019  5065 D DexObserverFW: isSemiDexModeOn() : false
06-16 18:05:05.292  5019  5065 D UsbDeviceManager: id=27 mUsbNotificationId=27
06-16 18:05:05.293  5019  5065 D UsbDeviceManager: updateUsbStateBroadcastIfNeeded: remainingFunctions=5
06-16 18:05:05.294  5019  5065 D UsbDeviceManager: broadcasting Intent { act=android.hardware.usb.action.USB_STATE flg=0x31000000 (has extras) } extras: Bundle[{host_connected=false, connected=true, unlocked=true, config_changed=false, adb=true, mtp=true, configured=true}]
06-16 18:05:05.304  5019  5077 I ApplicationPolicy: isApplicationExternalStorageWhitelisted:com.samsung.android.MtpApplication user:0
06-16 18:05:05.304  5019  5077 D ApplicationPolicy: isApplicationExternalStorageWhitelisted: DO is not enabled on user 0. Allowed.
06-16 18:05:05.304  5019  5077 D ActivityManager: package  com.samsung.android.MtpApplication, user - 0 is SDcard whitelisted
06-16 18:05:05.304  5019  5077 I ApplicationPolicy: isApplicationExternalStorageBlacklisted:com.samsung.android.MtpApplication user:0
06-16 18:05:05.304  5019  5077 D ApplicationPolicy: isApplicationExternalStorageBlacklisted: DO is not enabled on user 0. Allowed.
06-16 18:05:05.304  5019  5077 I ApplicationPolicy: isApplicationExternalStorageBlacklisted:com.samsung.android.MtpApplication user:0
06-16 18:05:05.304  5019  5077 D ApplicationPolicy: isApplicationExternalStorageBlacklisted: DO is not enabled on user 0. Allowed.
06-16 18:05:05.309  5019  5065 D UsbDeviceManager: sending intent ACTION_USB_STATE: connected=true configured=true mCurrentFunctions=5 mHostConnected=false
06-16 18:05:05.314 18551 18551 I adbd    : UsbFfs: already offline
06-16 18:05:05.315 18551 18551 I adbd    : Calling send_auth_request...
06-16 18:05:05.319 18551 18551 I adbd    : Loading keys from /data/misc/adb/adb_keys
06-16 18:05:05.321 18551 18551 I adbd    : adb client authorized

After accepting ADB authorization permanently have you tried to disconnect and reconnect USB cable to that device to see if the authorization was saved correctly? If it is saved try to reboot the device if the authorization persists a reboot.

@Robert yes, it saves state fine between normal reconnections

Then my only guess would be that adb daemon on-device crashes, restarts and there is a timing problem that the adb daemon first starts and then reads it's allowed devices configuration. But if the config is read the dialog has already been shown.

@Robert currently I guess that Vysor app may crash the daemon. I've removed it, will watch for the issue

https://android.stackexchange.com/q/215817 https://android.stackexchange.com/q/215869


text:
How can I access the browser console on Opera Mobile on Android?
How can I access the browser console on Opera Mobile on Android?
Browser console = something similar to the developer console window on Chrome, when pressing the keyboard shortcut Ctrl Shift J

Seems unlikely. It is a botched fork of Chromium. Most chrome://urls cannot be accessed. Even the official guide for remote debugging is outdated and no longer works.

Maybe some answers from https://stackoverflow.com/questions/37256331/is-it-possible-to-open-developer-tools-console-in-chrome-on-android-phone might be helpful.

You can try this app that I developed it may help you,
F12 | Browser Console for Mobile Devices
But if you are developing something and want to access Console for it, then following the steps in following link will be a better option
https://developers.google.com/web/tools/chrome-devtools/remote-debugging

That feature seems to be unavailable for all major android browsers.
You could try Opera-mini instead.

Reset the console output by opening a new tab with the address debug:resetconsole

Open a tab on the page on which you want to do the inspection:

Run JavaScript code on the page by replacing the address in the address bar with the following address javascript:var%20n%3Ddocument.firstChild%3Bwhile%28n%20%26%26%20n.nodeType%21%3DNode.ELEMENT_NODE%29%20n%3Dn.nextSibling%3Bconsole.log%28n.outerHTML%29%3B
Retrieve the output by opening a new tab with the address debug:console