text:
Half dead screen, trying to recover data (device not showing in file explorer)
I have a somewhat old Samsung S7 Edge phone which (strangely enough) has only the lower half of the screen not working. This is, the whole screen lights up and displays everything, but ONLY the lower half is unresponsive to touching. As such, I cannot unlock it and turn usb debugging on.
It is not rooted nor do I know how to do it; I don't really know a thing about coding.
I have seen many previous threads and web pages about this, but at most I am very confused and don't want to brick it.
It doesn't have any really important files, but very old GBA roms I would really like to keep, as well as some photos and pictures I may have. Any help appreciated!

Interesting.  I had a Samsung S6 that suddenly did exactly the same thing.  I didn't know it was a common problem with Samsung devices.  Do you have any good links regarding this problem?  To "fix" it, I recall letting the phone sit for a couple hours in a climate-controlled environment while it was turned off.  When I turned it back on, it magically worked again.  Maybe I just got lucky.

No, it just happened out of nowhere, after i left it charging overnight. As far as i remember, i found nothing regarding only half of the screen dying. Also, the phone was given to me by a familiar who constantly used a texting app, so the lower part of the screen has a "ghost" keyboard, like a slightly always visible mark of a keyboard on  screen. Even that part worked fine before. But regarding turning it off, the only current way to do so is by letting it slowly die out of battery since the turn off option requires password, and it has been sitting in my drawer for the past year already...

After sitting for the past year, is the battery still charged?

No, it dies out after a week or so, maybe half a month on full charge. I periodically charge it and turn it on in hopes of it returning, but nothing so far.

Hmmm... well, then, unfortunately besides a physical repair, I'm out of ideas of how to get the screen working again.  Sorry.  To get the data off the device, there are many good answers here on Android SE to get data off a device with a broken screen.

Thanks, i will try with some of the methods over here! If anything, is it relatively easy to undo a mistake when using adb? I never tried it before and if anything, i dont want to end up messing the OS or something along those lines.

Good question.  adb is often scary for people at first, as it's a powerful tool.  Yes, you can mess things up with it, but personally, I never have experienced a problem.  You may look at performing a backup image of the device before trying to extract specific files.  I'm sure there are good QAs for that here too.  Keep in mind that you are only extracting data, so your use of adb commands should be limited to those that read data and not write data.

I just thought of 2 "last ditch" things you can try.  They are unlikely to help, but they shouldn't hurt, and do have a small chance of working.  The first thing you can try is shaking the device vigorously at different angles.  If that doesn't help, you can try squeezing the phone and pressing fairly hard all over the device.  Just be sure not to break the glass (wear glass-proof gloves if you think there's a chance of the glass shattering).  If there's a connection that is loose, one of these procedures has a tiny chance of resolving the issue.  I once fixed a device doing this.

Oh, that sounds strange but the logic behind it completely makes sense. I will try that as well, thank you!

Have you considered using an OTG cable and a mouse to unlock your device?

Does this answer your question? Enable ADB and/or change USB connection mode on Galaxy S7 w/ broken screen

If one half of the screen is still responsive you could try to use your device upside down or in landscape mode. Then you should be able to e.g. press OK on the dialog that appears when connecting via adb.

@Robert That's darn clever. :) Hopefully screen rotation is enabled or can be enabled (and works on that particular screen).

... even if not, OTG usb mouse or usb keyboard still can be used to add bluetooth keyboard (which can be used for confirmation of adb)


text:
How can I restore Google Chrome after I deleted it on my rooted phone?
I have a rooted Mototrola G6 Play, and today I deleted google chrome because I don't use it, but once I deleted it a bunch of apps stopped working like LastPass and Coursera just to name a few...
I tried downloading it back from the play store but that didn't fix it.
I also tried making it a system application again using Lind2SD but it asks me to reboot and when I do it gets deleted.
I also tried manually installing the apk and placing it in /system/app/ and in /system/app/Chrome/ but that didn't work either!
How can I fix this problem?????
Edit: I was able to make chrome a system app again by changing the permission to rw-r-r after putting the apk in /system/app/Chrome but the apps are still broken!
Edit 2: I've just uninstalled and reinstalled the broken apps and they started working again!

Hi, looks like you've found the solution by yourself, which is great! Consider post it as a proper answer since self-answering is not only allowed, but even encouraged!. Thanks!

Chrome may be installed on system partition but as far as I know it doesn't matter if you use it from system or as a regular user app. It does not have any system permissions and also does not require them.

Have you tried reinstalling those broken apps?

@WrichikBasu yes and they actually worked, I edited the post and mentioned it, but some sicko edited it after and removed it

@SafwanLjd sorry, perhaps I should have been clearer. Unlike forums, and since this is a Q&A site, solutions belong to the Answers section, not the question. Please post your solution on the Answer below to make the question solved. Thank you.

source: Stack Exchange

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

sort: votes


text:
An Android App for blocking trackers completely using AI
About my device:

Android version: 10
ROM: Stock ROM(Android One)
Bootloader status: Unlocked and Rooted with Magisk 21.4 Stable

Tweaks that I've done till today:

AdAway
AfWall+
Warden
Ditched Chrome for Bromite, Brave(for syncing to pc) and Firefox Klar
NUKED script
And many more!

I'm currently searching for an Android app that can block ALL the trackers as well as hidden trackers on Android including Ads.
I, being a privacy enthusiast, have done a lot of online search, and currently using an open source app called Warden. It's good but, user needs to spend ton of time tweaking apps for better protection against trackers.
(If you're from India and you use Jio sim, then you'll have MyJio installed, their tracking is literally insane!).
I'd like know, is there any other Android App that can learn to tweak and disable trackers(privacy badger extension for browsers, for example) on it's own as the time passes, just like how Google Keyboard learns to personalize the dictionary.
Editings and Suggestions are always welcome:)

It is not necessary to use MyJio app to use a Jio SIM, but it is sort of very hard to keep track of real-time mobile data in its absence (JIO doesn't provide handy USSD codes).

Yes, you're right, I use it for keeping track of my data usage and recharge purposes. And yes, I just used it as an example for better clarification of what Im trying to say.

If you want "100% tracker freeness" you need to use the reverse approach. Do not blacklist trackers, instead white-list required domains. An AI is IMHO not a solution as you would have to train it first and afterwards a new tracker that just acts totally different as the others will not be detected as the AI is not trained on it. Additionally such an AI would require full data access (not only the domain names because from those you can't lern much) and therefore the AI would have to process a lot of data which also means that it would waste a lot of battery.

Got you! @Robert, I agree with your point of not using an AI related app for such thing, but do any app that exist to whitelist the required domains for required apps to work? or any scriptfor getting my job done. Because, Warden, that I've been using since months, is good, but it misses most of the amazing trackers by libraries(not sure if that;s a library) like Madme and others, especially adtriggers.

After struggling for a long time to achieve the same, what I ended up with is to simply use DNS blocking combined with app blocking. Block all the apps (using iptables or VPN based solutions) you think should not go online. But be aware of the fact that UID based blocking won't work if an app is using GMS APIs (and you haven't blocked Play Services). For the apps going online DNS blocking works quite good, even for malware protection on Windows. Keep the hosts file updated e.g. with StevenBlacks's. Even better, I use dnscrypt which encrypts (to prevent DNS hijacking) as well as blocks.

So, @IrfanLatif, in my case, AdAway(AdAway official Hosts, Bromite Filters, Pete Lowe Blocklist Hosts and StevenBlack Unified Hosts) and AfWall+ is more than enough? Along with Warden? But still, Jio related apps show a ton of Ads in it's apps(and they now feels like Adwares!).

Well the definition of "more than enough" may vary for persons. It depends on how concerned you are about your privacy. And honestly saying, the pace at which tracking, ads, malware, ransomware etc. are evolving, nothing is more than enough. So it's a matter of satisfaction, depending on one's technical acumen. Majority of the Android users in not aware of and not concerned about what Google alone is doing to them.

On the other side there are people like me. I've customized my device with root privileges - some native services running in background - to make it as secure and private as possible. For sensitive data like contacts, photos and notes I've developed some minimal apps of my own to avoid dependency on third party resources. But still I think there are a number of aspects of privacy missing in my setup.

Yes, I do agree with your point of view, me, so, what I'm currently doing is using FOSS apps(most of them) that mostly works offline except for contacts as Google Backup of contacts is a must for me.
[Edit:] And I don't know what would happen if I apply firewall to GMS. Apps that depends upon GMS, might stop working. That's the only fear that I've.

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


text:
Bootloader wont unlock on Google Pixel 2 (G011A)
I'm trying to root my Google Pixel 2 but I can't get the bootloader unlocked.
The phone is a renewed and unlocked international version, model number G011A.
From the bootloader screen, and connected to the computer, this is the result from the following commands:
fastboot flashing unlock

FAILED (remote: 'Flashing Unlock is not allowed')
fastboot: error: Command failed

fastboot flashing unlock_critical

FAILED (remote: 'unknown command')
fastboot: error: Command failed

It is communicating with the device:
fastboot devices

{{device serial number}}         fastboot

and unlocking the bootloader seems to be enabled on the phone
fastboot flashing get_unlock_ability

(bootloader) get_unlock_ability: 1
OKAY [ 0.000s]
Finished. Total Time: 0.000s

I've tried using a Windows 10 laptop and an Ubuntu laptop, both with the same results. I read that USB ports/cables can be problematic, so I've tried all the USB ports on both laptops using two different cables with the same result.
On the phone itself, developer options are enabled, USB debugging is enabled, and OEM unlocking is enabled.  Curiously, OEM unlocking becomes grayed out and disabled after enough failed attempts, but I've been fixing this with a factory reset.
The Android version is 11, build RP1A.201005.004A1
What am I missing here? Why wont this bootloader unlock? Thanks!

Note: the 'flashing unlock' command is only available with fastboot version 23.0.1 or later. The latest available version of fastboot can be downloaded from SDK Platform Tools - update fastboot version and try // Also fastboot flashing unlock_critical should not be used on your device, it's only for 2XL

it seems that more and more OEMs follow Huawei philosophy, some people reported for Samsung and Oppo devices not unlockable after 7+ days

@beeshyams I should have said, my fastboot version is 30.0.5-6877874. If fastboot flashing unlock_critical is not the correct command, what is? The XDA tutorial says they use the same command. https://www.xda-developers.com/how-to-unlock-bootloader-and-root-the-google-pixel-2-and-pixel-2-xl/

@alecxs I'm not sure what you're saying. Its an unlocked Google Pixel 2, so it should be able to have the bootloader unlocked. Its not as though Google is not allowing flashing of its own Android devices.

not for verizon, sprint, etc https://android.stackexchange.com/q/232947/

"It should also be noted that many if not most Pixel phones that are advertised for sale as 'unlocked' phones are in fact simply 'carrier unlocked' phones" https://support.google.com/pixelphone/thread/53018654

@alecxs I don't think that applies here, since get_unlock_ability command says its its able to be unlocked, and the OEM unlock in the developer settings is also enabled.

that description claims only OPD3.170816.012 is unlockable (and very rare). However, this post is contradictory

I just wish I could find someone who figured out a work around.  From what I have read Google has intentionally blocked the change of bootloader lock.
https://support.google.com/pixelphone/thread/14920605/google-refurbished-pixel-2-is-always-defective-bootloader-unlock?hl=en

please note link-only answers are discouraged. As you are the author of that link please copy+paste OP here in addition to your link

While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference.  Link-only answers can become invalid if the linked page changes. - From Review


text:
EMUI 8: Where is the downloaded OTA located?
I downloaded the latest version of EMUI 8 for my Huawei Nova 2i (RNE-L22), the file size is 3GB.
Before installing the update, I'm planning to do a factory reset but that means I will need to re-download the update. The problem is I have a very limited internet connection, so I wanted to move the file into my SD-Card and flash it later.
I couldn't find where the file is located, anyone knows where it is?
Anyway, I downloaded the update by navigating into the Settings > About Phone > System Update.

See this related question. If the location is Huawei specific inside /data/data then you don't have access on un-rooted devices. In any way it does not matter if you first do the factory reset or afterwards. Just to be sure I would remove all accounts in Android settings -> accounts so that you can do a factory reset later without running into FRP (if the device does not boot up correctly after upgrade). Therefore if you don't want to redownload the update apply it before doing the factory reset.

I don't understand what's with Huawei. This should be easy and should be accessible with a root or unrooted device. Anyway, I just update it and do a factory reset later.


text:
Audio file not Supported
So I just went from the LG ThinQ to the LG Velvet and transferred some of my music over. However, when I try to play certain songs, they come up as "file not supported". They will play on my ThinQ but NOT my Velvet. Is there some sort of software issue?

What types of audio files are you talking about? MP3, M4A, FLAC or a file created with a special codec?

They are merely Mp3 and WMA files.

Hello. Which app are you using to play those files? Have you tried using a different app, such as VLC app or PowerAmp?

Hello, in both cases, I have been using just the standard music app that comes with the phones. It is just strange to hear it works for one but not the other.


text:
How to get back to the exact same state as before accidentally adding a LINE friend?
Sure, in the official LINE  help and elsewhere, there's a lot of advice about hiding, and deleting and blocking friends.
But none of that tells you how to get back to the exact same state you were in before you added them.
All the methods have some side effect leaving some permanent difference.
I want to get back to the exact same state that I was in before I accidentally added them. In other words I want their state in regards to me and my state in regards to them to be exactly like it was before I ever added them.
On Facebook, one could simply click Unfriend.
But in LINE it is much more complicated.

No, I'm not angry with them. In fact I never met them. I just added the wrong person by accident  thinking they were somebody else. Maybe one day I'll encounter them in real life so I don't want to add them to my block list because they might be a great person.

And I don't want hide them, etc.  I just want to delete them from my friend list, and then delete the chat. And then I'll be 100% back to the state I was before I met them right? I don't want to leave any residue in the LINE database saying I have any opinion pro or against them

Yes, if I simply delete them from my friend list, they're still my friend excetera excetera it's all so complicated.

You can delete someone from your friends list by hiding them, and then going to Settings > Friends > Hidden Friends.
Tap on the Edit button beside the friend you want to delete and then choose "Delete". This will delete them without blocking.

That's great! I sure wish there was some official documentation.

(I was using a worse solution: don't delete the chat, you'll need it later. Now block them. Now go to your block list in Settings, and delete them. Now back in the chat, unblock them.)


text:
Is it possible to update from Android 4.2 to 4.4 without disturbing the bootloader?
I have, for example, downloaded an update from android 4.1 to 4.2. All it consisted of was 10 new system apps, 5 libraries, 3 fonts, and a new bootanimation.
What I would like to know is if an update from 4.2 to 4.4 could be done as simply, like by changing out some system apps and/or libraries?

updates usually provided by manufacturer only therefore no unlocking required

AVB and dm-verity support were added in android 4.4. I don't think your device has integrity protection. You can flash custom images.

@defalt I know that the boot and recovery images require a signature but I have root rights and have previously modified /system a lot.

KitKat has introduced SELinux therefore you can't just update by changing out some system apps and/or libraries.
Nevertheless, while this is a broad statement you may succeed for updating single apk files.


text:
Finding and removing Android adware that opens Chrome tabs when unlocking the lockscreen
I'm battling an adware on multiple Android devices which none of the Malware removal tools I tried (Kaspersky, Avast, and Norton IIRC) can find.
Behaviour
While the phone is locked, new Chrome tabs (not the default browser, Chrome specifically) are launched periodically, pointing at (don't visit!) http://vpg.dorputolano.com. This redirects you to various ugly ad-sites for gambling, betting, new phones, and what have you. It doesn't act, while the phone is unlocked.
Importantly, this behaviour has jumped devices: I first had the issue on my OnePlus 3. I was changing phones anyway at the time and I thought with a fresh install on my new phone I'd be golden. I used the OnePlus transfer app to transfer my stuff to my new OnePlus Nord, which in hindsight might not have been the best of ideas. Now after ~3 weeks of using the new phone, it started again. No apps have been installed in this period, so it seems to have a dormant period before it starts acting up.
What I have tried

Most obviously, switch to a brand new phone
Finding rogue processes via adb shell and ps -A
Trying to change /etc/hosts to at least not visit the bad site, but this needs root access
Neither of my devices were/are rooted

Device info

OnePlus Nord, Model AC2003
Oxygen OS 10.5.10.AC01BA
Carrier Wingo (read: Swisscom), not known for malicious behaviour
(The old phone was a OnePlus 3, up to date with the last update they shipped)

I'm hoping for

Identification of the malicious app and how to remove it
Further tips on pinning it down myself, maybe more adb tricks?
If all else fails, workarounds to mitigate the behaviour

Related: How to find out which app is trying to open spam websites?

Using my Google Activity History, i spotted a few activity entries of my Barcode Scanner app which didn't belong there as I didn't use the app at the time.
Uninstalling the app resolved the problem. In my case, the com.qrcodescanner.barcodescanner] was the culprit.
Edit: The app has been pulled from the store since.
The most recent 1-star reviews confirm that the apps is an adware since the last update.
For completeness' sake, this might not be the dev's fault since the app Andrew pointed out (com.google.zxing.client.android (Play store)) suffers from the very same condition it seems, the reviews now all say it delivers ads.
Edit: Apparently this is a false positive, as it unfortunately had an identical app name and got hit with negative reviews for no reason
Edit: Maybe some barcode library further upstream got compromised?
In any case, caution on using either of the apps is advised.
Use zxing's Barcode Scanner for a better alternative
Credit to @andrewT. for pointing me to the solution
Update, 08. Feb 2021: There is now a writeup of the story at Malwarebytes Blog

Thanks for mentioning the package name, now we know a little more about its update history. The reason I wanted to check the package name is that app names are not unique on Play Store, and only the package names are unique. Thus I'm afraid that one of the most popular and credible Barcode Scanner apps (open-source, no update since 2 years ago, and no ads) has also become a "victim" of review bombing due to this confusion (I'm personally still using it and no sign of malware).

Also, scan result of the APK. FWIW, we found this approach with help of Malwarebytes Forum. However, someone there accused the wrong Barcode Scanner app due to having the same name, that's why I wanted to clear it up.

The play store link is now a 404, so they probably removed it.


text:
Retrieve DCIM folder deleted from internal storage, no backup on Google and phone is unrooted
I accidentally deleted files including photos from file manager. I tried multiple recovery apps like Dr. Fone, disk digger, etc. but nothing seems to work as my thumbnails, cache and everything from the recycle bin has been deleted. Google photos also doesn't have backup. Can anyone suggest how to retrieve data, especially the DCIM folder without rooting my phone?

not possible. but you can search for trash or thumbnail folders https://play.google.com/store/apps/details?id=com.i8dudata.imgrecover.free

Does this answer your question? How to pull data from internal memory on an unrooted phone?


text:
How does deodexing work?
As far as I understand, odexed apps come in two: the "apk" and the "odex" files, both containing different information. And I understand that the odex file has crucial information that loads first and speeds up the booting process.
But I tried to deodex an odexed app with UltimateDeodexer, and it only asked me to upload the .odex file, giving me in return an .apk file. Seemed like it turned the .odex into .apk.
How does that work?? Is it missing all the information from the original .apk file? Is my resulting .apk file complete, or am I supposed to do something else afterwards?

The returned APK must be containing the deOptimized Dalvik EXecutable file like any APK contains classes.dex file. Did you check? It'd be better if you explain what you want to achieve with deodexing. For a general understanding see this answer: https://android.stackexchange.com/a/225620/218526

The returned APK files will only contain the dex files, not additional resources and other files you can see when opening the APK file in an ZIP tool.

@IrfanLatif I do have a classes.dex file. I had a quick look through both apk files' folders, and the only difference seems to be that file. The deodexed apk is slightly bigger, which makes sense, so I guess my resulting apk is complete...? I don't think it's of any help, but I'm trying to change the keyboard apk to use it in a newer phone running another version of android; and I'm a noob, this is the only reason I'm trying to learn android

"so I guess my resulting apk is complete...?" please see Robert's comment.


text:
Save all radio communication to file
I have a rooted phone. So, your phone has a radio right? It does calls, uses network, et cetera. Can you access the radio with root permissions?
How could I log all raw radio communication to a file?

You cannot access modem. It's completely isolated from the Android OS. The communication between Android and modem is through Radio Interface Layer (rild) which is closed source, specific to OEM. You may however check logcat -b radio to see what's already being logged. Or reverse engineer the RIL daemon.

On a rooted device you may be able to use Xposed and hook all calls to the RIL for logging them. But this would have an significant impact on your device speed. Some functions may even fail because due to Xposed and the hook taking too much time.


text:
Display additional button in Menu Bar
In Android 10, MIUI 12.0.2, how does one display, in the Menu Bar, the button to show the Toggles?
By Toggles I mean the following menu that appears if one scrolls down at the top

So far, the Menu Bar has only

Return to home screen: Quickly wipe from the bottom to the top.

Open last apps (app toggle): Wipe from bottom to top and hold.

Back: Wipe from the left edge to the right edge, or vice versa, both are possible.

But before reseting the phone I had the button but don't remember how I added it.
Already went to:

Open the Settings
Tap on Additional settings
Tap on Full screen display
Choose Buttons or Full screen gestures

And scrolled all over the settings, but don't seem to find it.
In terms of usability, the button that I want to add is helpful, as it allows one to read the notifications or just find the Togglers in the top easily.

Edit
With the accessibility button (the button with the icon of the person) one is able to open the Toggles, but that takes two clicks and I am looking for the direct button that I previously had.

I am confused. Are you trying to add a button to Quick settings or into Navigation bar? Adding a button in Navigation bar might be supported. Try finding Navigation bar settings in Settings app. As for Quick Settings, you should see a tile named Edit. Pressing on it would show the available for use QS tiles. Waht you are looking for might be there.

Into the Navigation Bar. Apart from the 4 buttons that appear in the last screenshot, I used to have another one just to display the Toggles.

The button looked like an arrow pointing down, if I am not mistaken.


text:
How to expand system partition? [Xiaomi Mi 9]
How to expand system partition?
I'd need at least ~600MB more for OpenGapps package I'd like.
Many thanks in advance!
Here's log from parted
cepheus:/ # parted /dev/block/sde
GNU Parted 3.2
Using /dev/block/sde
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: WDC SDINDDH4-64G (scsi)
Disk /dev/block/sde: 6442MB
Sector size (logical/physical): 4096B/4096B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name           Flags
 1      24.6kB  57.3kB  32.8kB               multiimgoem
 2      57.3kB  90.1kB  32.8kB               multiimgqti
 3      90.1kB  123kB   32.8kB               secdata
 4      123kB   156kB   32.8kB               limits
 5      156kB   262kB   106kB                bk41
 6      262kB   393kB   131kB                qupfw
 7      393kB   524kB   131kB                qupfwbak
 8      524kB   786kB   262kB                apdp
 9      786kB   1049kB  262kB                msadp
10      1049kB  1180kB  131kB                vbmeta
11      1180kB  1311kB  131kB                storsec
12      1311kB  1573kB  262kB                bk42
13      1573kB  1835kB  262kB                devcfg
14      1835kB  2097kB  262kB                devcfgbak
15      2097kB  2621kB  524kB                aop
16      2621kB  3146kB  524kB                aopbak
17      3146kB  3670kB  524kB                uefivarstore
18      3670kB  4194kB  524kB                catefv
19      4194kB  5243kB  1049kB               cmnlib
20      5243kB  6291kB  1049kB               cmnlibbak
21      6291kB  7340kB  1049kB               cmnlib64
22      7340kB  8389kB  1049kB               cmnlib64bak
23      8389kB  9437kB  1049kB               bk43
24      9437kB  10.5MB  1049kB               keymaster
25      10.5MB  11.5MB  1049kB               keymasterbak
26      11.5MB  12.6MB  1049kB               bluetooth
27      12.6MB  13.6MB  1049kB               dip
28      13.6MB  14.7MB  1049kB               catecontentfv
29      14.7MB  23.1MB  8389kB               bk44
30      23.1MB  25.2MB  2097kB               bk44
31      25.2MB  27.3MB  2097kB               cateloader
32      27.3MB  29.4MB  2097kB               uefisecapp
33      29.4MB  31.5MB  2097kB               uefisecappbak
34      31.5MB  33.6MB  2097kB               toolsfv
35      33.6MB  35.7MB  2097kB               abl
36      35.7MB  37.7MB  2097kB               ablbak
37      37.7MB  41.9MB  4194kB               tz
38      41.9MB  46.1MB  4194kB               tzbak
39      46.1MB  50.3MB  4194kB               bk45
40      50.3MB  58.7MB  8389kB               fsg
41      58.7MB  67.1MB  8389kB               spunvm
42      67.1MB  75.5MB  8389kB               hyp
43      75.5MB  83.9MB  8389kB               hypbak
44      83.9MB  101MB   16.8MB               gsort
45      101MB   134MB   33.6MB               dtbo
46      134MB   201MB   67.1MB               ifaa
47      201MB   268MB   67.1MB               logo
48      268MB   336MB   67.1MB  ext4         dsp
49      336MB   470MB   134MB                boot
50      470MB   493MB   23.1MB               bk47
51      493MB   671MB   178MB                core_nhlos
52      671MB   1007MB  336MB                modem          msftdata
53      1007MB  2617MB  1611MB  ext2         vendor
54      2617MB  6375MB  3758MB  ext2         system

do yourself a favor and try on emmc image first. that doesn't look promising. where is userdata partition? why don't you install pico instead? that apps can installed from google play, no need to increase system partition

Have you checked if simply deleting installed bloatware from the system partitions could free up enough space. Also I recommend to install only the "mini" OpenGApps package. Everything else can be downloaded from PlayStore and installed onto the user data partition. Installing a larger OpenGApps packae onto the system partition and later update parts of it from Play Store just wastes space on your system partition as you them have it twice: the old unused one on system and the updated one on user.


text:
Files app (com.google.android.documentsui) keeps crashing
I have a Samsung S6 Lite and whenever I need to use the Files app as a FilePicker I get the message "Files has stopped". Specifically when trying to import a PDF in Squid Notes. However, this crash happens in any app that requires the default Files FilePicker.
Here is the following adb logcat filtered by Warnings and Errors (I had to use pastebin instead of posting the log here inline as StackExchange was detecting it as spam):
https://pastebin.com/raw/QaKP3FW2
18599 E AndroidRuntime: Process: com.google.android.documentsui, PID: 18599
18599 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.google.android.documentsui/com.android.documentsui.picker.PickActivity}: java.lang.ClassCastException: com.google.android.material.appbar.AppBarLayout$LayoutParams cannot be cast to com.google.android.material.appbar.CollapsingToolbarLayout$LayoutParams
18599 E AndroidRuntime:     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3654)
18599 E AndroidRuntime:     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3806)
18599 E AndroidRuntime:     at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
18599 E AndroidRuntime:     at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
18599 E AndroidRuntime:     at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
18599 E AndroidRuntime:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2267)
18599 E AndroidRuntime:     at android.os.Handler.dispatchMessage(Handler.java:107)
18599 E AndroidRuntime:     at android.os.Looper.loop(Looper.java:237)
18599 E AndroidRuntime:     at android.app.ActivityThread.main(ActivityThread.java:8167)
18599 E AndroidRuntime:     at java.lang.reflect.Method.invoke(Native Method)
18599 E AndroidRuntime:     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
18599 E AndroidRuntime:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)
18599 E AndroidRuntime: Caused by: java.lang.ClassCastException: com.google.android.material.appbar.AppBarLayout$LayoutParams cannot be cast to com.google.android.material.appbar.CollapsingToolbarLayout$LayoutParams
18599 E AndroidRuntime:     at com.android.documentsui.NavigationViewManager.updateToolbar(NavigationViewManager.java:198)
18599 E AndroidRuntime:     at com.android.documentsui.NavigationViewManager.update(NavigationViewManager.java:154)
18599 E AndroidRuntime:     at com.android.documentsui.BaseActivity.refreshCurrentRootAndDirectory(BaseActivity.java:605)
18599 E AndroidRuntime:     at com.android.documentsui.AbstractActionHandler.loadRecent(AbstractActionHandler.java:838)
18599 E AndroidRuntime:     at com.android.documentsui.picker.ActionHandler.loadDefaultLocation(ActionHandler.java:236)
18599 E AndroidRuntime:     at com.android.documentsui.picker.ActionHandler.onLastAccessedStackLoaded(ActionHandler.java:190)
18599 E AndroidRuntime:     at com.android.documentsui.picker.ActionHandler.initLoadLastAccessedStack(ActionHandler.java:176)
18599 E AndroidRuntime:     at com.android.documentsui.picker.ActionHandler.initLocation(ActionHandler.java:135)
18599 E AndroidRuntime:     at com.android.documentsui.picker.PickActivity.onCreate(PickActivity.java:162)
18599 E AndroidRuntime:     at android.app.Activity.performCreate(Activity.java:7963)
18599 E AndroidRuntime:     at android.app.Activity.performCreate(Activity.java:7952)
18599 E AndroidRuntime:     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1307)
18599 E AndroidRuntime:     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3629)
18599 E AndroidRuntime:     ... 11 more
 5189 W ActivityManager: crash : com.google.android.documentsui,0

The crash also happens when the device is booted in Safe Mode. I'm new to Android and have some developer/coding experience, unfortunately I have no experience with Java to interpret what the error means.
I did disable/uninstall some Samsung bloatware from the tablet the previous night, but was using Squid Notes and importing PDFs and using the Files app just fine after the fact. It seems the problem started happening once I powered the device off and back on. My gut tells me I messed something up uninstalling things I didn't think I'd use, but I have since reinstalled and re-enabled everything I disabled and rebooted the device, but the crash persists.
Hopefully someone can see what might be causing the crash, as I'd like like to try and fix it without having to factory reset the device if possible.
Thanks!

Unless you have rooted your device you should not be able to make system modifications that could cause this. The main error is com.google.android.material.appbar.AppBarLayout$LayoutParams cannot be cast to com.google.android.material.appbar.CollapsingToolbarLayout$LayoutParams which means some theming class has changed and does not match the expected class. Usually this is a bug in the app but we are talking about a system app and your device is old and should not get updates anymore. Therefore this bug should not appear out of nowhere...

I have not rooted the device at all. I have since found out that you can do an "Uninstall updates" in the App Settings. After doing so and rebooting the device the Files app opened once without a crash, but now it's crashing again. My device is the Samsung S6 Lite tablet which came out in the last year, so it's not old

Okay, so it seems the Files app auto updated shortly after I used the old version after rebooting, so that's why it was crashing again. The version without any updates is "q_release_aml_patch_291602100" and the newest version that's crashing is "r_aml_301500700". I'm not sure how I can keep it from auto updating since the app isn't technically on the Google Play Store. When disabling auto updates in the store, and then checking for updates, the Files app doesn't even show up as needing an update after I revert it to it's old version.

Then open the app every day a few times (and let it crash) and hope that the crash report is also sent to Google so that they recognize the problem and fix it soon


text:
Sparkasse S-pushTAN app keeps crashing after restored with Titanium Backup
I'm a long time user of Titanium backup but recently I discovered that when I try to restore an app about 50% of the apps are not getting correctly recovered. After the restore the app always force closes.
Now I want ti investigate this further.
So I restored an App (com.starfinanz.mobile.android.pushtan) using Titanium Backup but the App always FCs now.
Device LG-G6 (h870) Havoc OS (Android 10)
I already tried restorecon -R -v /data/data but with no success
Does anyone have an idea what is going wrong?
When I clear the data of the app it starts working again (but ofcourse I need to setup all the settings again ...)
This is the logcat when I try to start the app
01-29 10:01:37.453   604  1024 D sensors_hal_Ctx: poll:polldata:1, sensor:1, type:1, x:0.682343 y:7.575256 z:5.834671
01-29 10:01:37.454   604  1024 D sensors_hal_Util: waitForResponse: timeout=0
01-29 10:01:37.493   604  1024 D sensors_hal_Ctx: poll:polldata:1, sensor:1, type:1, x:0.699112 y:7.580048 z:5.789185
01-29 10:01:37.493   604  1024 D sensors_hal_Util: waitForResponse: timeout=0
01-29 10:01:37.533   604  1024 D sensors_hal_Ctx: poll:polldata:1, sensor:1, type:1, x:0.684738 y:7.565674 z:5.839462
01-29 10:01:37.533   604  1024 D sensors_hal_Util: waitForResponse: timeout=0
01-29 10:01:37.574   604  1024 D sensors_hal_Ctx: poll:polldata:1, sensor:1, type:1, x:0.677567 y:7.601593 z:5.825089
01-29 10:01:37.574   604  1024 D sensors_hal_Util: waitForResponse: timeout=0
01-29 10:01:37.613   604  1024 D sensors_hal_Ctx: poll:polldata:1, sensor:1, type:1, x:0.677567 y:7.580048 z:5.817917
01-29 10:01:37.613   604  1024 D sensors_hal_Util: waitForResponse: timeout=0
01-29 10:01:37.654   604  1024 D sensors_hal_Ctx: poll:polldata:1, sensor:1, type:1, x:0.665588 y:7.582443 z:5.822693
01-29 10:01:37.654   604  1024 D sensors_hal_Util: waitForResponse: timeout=0
01-29 10:01:37.694   604  1024 D sensors_hal_Ctx: poll:polldata:1, sensor:1, type:1, x:0.679947 y:7.568069 z:5.822693
01-29 10:01:37.695   604  1024 D sensors_hal_Util: waitForResponse: timeout=0
01-29 10:01:37.735   604  1024 D sensors_hal_Ctx: poll:polldata:1, sensor:1, type:1, x:0.653610 y:7.563278 z:5.796356
01-29 10:01:37.735   604  1024 D sensors_hal_Util: waitForResponse: timeout=0
01-29 10:01:39.467  1006  9682 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.starfinanz.mobile.android.pushtan/com.starfinanz.mobile.android.spushtan.SPushTan bnds=[346,800][618,1100]} from uid 10241
01-29 10:01:39.512  1006  1134 E system_server: Invalid ID 0x00000000.
01-29 10:01:39.553   536   536 D Zygote  : Forked child process 6134
01-29 10:01:39.563  1006  1156 I ActivityManager: Start proc 6134:com.starfinanz.mobile.android.pushtan/u0a323 for pre-top-activity {com.starfinanz.mobile.android.pushtan/com.starfinanz.mobile.android.spushtan.SPushTan}
01-29 10:01:39.565  6134  6134 E android.pushta: Not starting debugger since process cannot load the jdwp agent.
01-29 10:01:39.573   520   526 I Magisk  : proc_monitor: [com.starfinanz.mobile.android.pushtan] PID=[6134] UID=[10323]
01-29 10:01:39.586  1006  4735 W OomAdjuster: Fallback pre-set sched group to default: not expected top priority
01-29 10:01:39.700  2842 27860 W NetworkScheduler: Error inserting flex_time=694000 job_id=-1 period=1390000 source=16 requires_charging=0 preferred_network_type=1 target_class=com.google.android.gms.measurement.PackageMeasurementTaskService user_id=0 target_package=com.google.android.gms tag=Measurement.PackageMeasurementTaskService.UPLOAD_TASK_TAG task_type=0 required_idleness_state=0 service_kind=0 source_version=205016000 persistence_level=1 preferred_charging_state=1 required_network_type=0 runtime=1611910899693 retry_strategy={"maximum_backoff_seconds":{"3600":0},"initial_backoff_seconds":{"30":0},"retry_policy":{"0":0}} last_runtime=0, error message: UNIQUE constraint failed: pending_ops.tag, pending_ops.target_class, pending_ops.target_package, pending_ops.user_id (code 2067 SQLITE_CONSTRAINT_UNIQUE) [CONTEXT service_id=218 ]
01-29 10:01:39.903  6134  6134 W ndroid.settings: type=1400 audit(0.0:1687835): avc: denied { read } for name="tcp" dev="proc" ino=4026532383 scontext=u:r:untrusted_app:s0:c67,c257,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0
01-29 10:01:39.906  6134  6134 W ndroid.settings: type=1400 audit(0.0:1687836): avc: denied { read } for name="enforce" dev="selinuxfs" ino=4 scontext=u:r:untrusted_app:s0:c67,c257,c512,c768 tcontext=u:object_r:selinuxfs:s0 tclass=file permissive=0
01-29 10:01:39.930  6134  6134 W ndroid.settings: type=1400 audit(0.0:1687837): avc: denied { read } for name="tcp" dev="proc" ino=4026532383 scontext=u:r:untrusted_app:s0:c67,c257,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0
01-29 10:01:39.983  2166  2166 D ImageWallpaper: wallpaper visibility changes to: false
01-29 10:01:40.004  6134  6134 I FirebaseApp: Device unlocked: initializing all Firebase APIs for app [DEFAULT]
01-29 10:01:40.006  6134  6134 W         : type=1400 audit(0.0:1687838): avc: denied { read } for name="tcp" dev="proc" ino=4026532383 scontext=u:r:untrusted_app:s0:c67,c257,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0
01-29 10:01:40.023  6134  6134 W         : type=1400 audit(0.0:1687839): avc: denied { read } for name="tcp" dev="proc" ino=4026532383 scontext=u:r:untrusted_app:s0:c67,c257,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0
01-29 10:01:40.080  6134  6134 I FirebaseInitProvider: FirebaseApp initialization successful
01-29 10:01:40.303  6134  6175 W LOTTIE  : Lottie doesn't support expressions.
01-29 10:01:40.496  6134  6134 I [Koin]  : loaded 79 definitions - 215.285543 ms
01-29 10:01:40.585  6134  6160 E android.pushta: No package ID 7f found for ID 0x7f010000.
01-29 10:01:40.585  6134  6160 E android.pushta: No package ID 7f found for ID 0x7f020000.
01-29 10:01:40.585  6134  6160 E android.pushta: No package ID 7f found for ID 0x7f030000.
01-29 10:01:40.585  6134  6160 E android.pushta: No package ID 7f found for ID 0x7f040000.
01-29 10:01:40.585  6134  6160 E android.pushta: No package ID 7f found for ID 0x7f050000.
01-29 10:01:40.585  6134  6160 E android.pushta: No package ID 7f found for ID 0x7f060000.
01-29 10:01:40.585  6134  6160 E android.pushta: No package ID 7f found for ID 0x7f070000.
01-29 10:01:40.585  6134  6160 E android.pushta: No package ID 7f found for ID 0x7f080000.
01-29 10:01:40.585  6134  6160 E android.pushta: No package ID 7f found for ID 0x7f090000.
01-29 10:01:40.585  6134  6160 E android.pushta: No package ID 7f found for ID 0x7f0a0000.
01-29 10:01:40.585  6134  6160 E android.pushta: No package ID 7f found for ID 0x7f0b0000.
01-29 10:01:40.585  6134  6160 E android.pushta: No package ID 7f found for ID 0x7f0c0000.
01-29 10:01:40.585  6134  6160 E android.pushta: No package ID 7f found for ID 0x7f0d0000.
01-29 10:01:40.586  6134  6160 E android.pushta: No package ID 80 found for ID 0x80010000.
01-29 10:01:40.586  6134  6160 E android.pushta: No package ID 80 found for ID 0x80010001.
01-29 10:01:40.723  6134  6174 W LOTTIE  : Lottie doesn't support layer effects. If you are using them for  fills, strokes, trim paths etc. then try adding them directly as contents  in your shape. Found: [Excite - Transformieren - Skal]
01-29 10:01:40.790  6134  6160 W android.pushta: resources.arsc in APK '/data/app/com.instagram.android-lIIPSoO2Fu30Wa4t86NTUQ==/base.apk' is compressed.
01-29 10:01:40.868  6134  6160 W android.pushta: resources.arsc in APK '/data/app/com.maxmpz.audioplayer-JCugQCvMXfGvHpOsecZdYA==/base.apk' is compressed.
01-29 10:01:40.904  6134  6160 W android.pushta: resources.arsc in APK '/data/app/com.maxmpz.audioplayer.unlock-g191wh8faIPG7UkV3iZDtw==/base.apk' is compressed.
01-29 10:01:40.981  6134  6174 W LOTTIE  : Animation contains merge paths. Merge paths are only supported on KitKat+ and must be manually enabled by calling enableMergePathsForKitKatAndAbove().
01-29 10:01:41.000  6134  6134 W         : type=1400 audit(0.0:1687840): avc: denied { read } for name="tcp" dev="proc" ino=4026532383 scontext=u:r:untrusted_app:s0:c67,c257,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0
01-29 10:01:41.174  6134  6180 I AdrenoGLES: QUALCOMM build                   : 7331a27, Ieeb4a86f7b
01-29 10:01:41.174  6134  6180 I AdrenoGLES: Build Date                       : 11/13/19
01-29 10:01:41.174  6134  6180 I AdrenoGLES: OpenGL ES Shader Compiler Version: EV031.27.05.02
01-29 10:01:41.174  6134  6180 I AdrenoGLES: Local Branch                     :
01-29 10:01:41.174  6134  6180 I AdrenoGLES: Remote Branch                    :
01-29 10:01:41.174  6134  6180 I AdrenoGLES: Remote Branch                    :
01-29 10:01:41.174  6134  6180 I AdrenoGLES: Reconstruct Branch               :
01-29 10:01:41.174  6134  6180 I AdrenoGLES: Build Config                     : S L 8.0.12 AArch64
01-29 10:01:41.182  6134  6180 I AdrenoGLES: PFP: 0x005ff087, ME: 0x005ff063
01-29 10:01:41.219   465   465 I hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.mapper@3.0::IMapper/default in either framework or device manifest.
01-29 10:01:41.220  6134  6180 W Gralloc3: mapper 3.x is not supported
01-29 10:01:41.222   465  6185 W libc    : Unable to set property "ctl.interface_start" to "android.hardware.graphics.mapper@3.0::IMapper/default": error code: 0x20
01-29 10:01:41.222   465  6185 E hwservicemanager: Failed to set property for starting android.hardware.graphics.mapper@3.0::IMapper/default
01-29 10:01:41.277  1006  1149 I ActivityTaskManager: Displayed com.starfinanz.mobile.android.pushtan/com.starfinanz.mobile.android.spushtan.SPushTan: +1s786ms
01-29 10:01:41.338  6134  6134 W android.pushta: Accessing hidden method Landroid/app/ResourcesManager;->getOrCreateResources(Landroid/os/IBinder;Landroid/content/res/ResourcesKey;Ljava/lang/ClassLoader;)Landroid/content/res/Resources; (greylist-max-o, reflection, denied)
01-29 10:01:41.336  6134  6134 W ndroid.settings: type=1400 audit(0.0:1687841): avc: denied { read } for name="tcp" dev="proc" ino=4026532383 scontext=u:r:untrusted_app:s0:c67,c257,c512,c768 tcontext=u:object_r:proc_net_tcp_udp:s0 tclass=file permissive=0
01-29 10:01:41.340  6134  6134 W ndroid.settings: type=1400 audit(0.0:1687842): avc: denied { read } for name="enforce" dev="selinuxfs" ino=4 scontext=u:r:untrusted_app:s0:c67,c257,c512,c768 tcontext=u:object_r:selinuxfs:s0 tclass=file permissive=0
01-29 10:01:41.343  6134  6176 W LOTTIE  : Lottie doesn't support layer effects. If you are using them for  fills, strokes, trim paths etc. then try adding them directly as contents  in your shape. Found: [IK]
01-29 10:01:41.434  6134  6134 I TextInputLayout: EditText added is not a TextInputEditText. Please switch to using that class instead.
01-29 10:01:41.493  6134  6160 E android.pushta: No package ID 80 found for ID 0x80010000.
01-29 10:01:41.493  6134  6160 E android.pushta: No package ID 80 found for ID 0x80010001.
01-29 10:01:41.509  2842 27860 I NetworkScheduler.Stats: Task com.google.android.gms/com.google.android.gms.clearcut.uploader.QosUploaderService started execution. cause:1 exec_start_elapsed_seconds: 90226 [CONTEXT service_id=218 ]
01-29 10:01:41.583  2842 32121 I NetworkScheduler.Stats: Task com.google.android.gms/com.google.android.gms.tapandpay.gcmtask.TapAndPayGcmTaskService started execution. cause:1 exec_start_elapsed_seconds: 90226 [CONTEXT service_id=218 ]
01-29 10:01:41.606  2842 30294 I NetworkScheduler.Stats: Task com.google.android.gms/com.google.android.gms.tapandpay.gcmtask.TapAndPayGcmTaskService finished executing. cause:1 result: 1 elapsed_millis: 71 uptime_millis: 71 exec_start_elapsed_seconds: 90226 [CONTEXT service_id=218 ]
01-29 10:01:41.626  1006 13990 D BiometricService: canAuthenticate: User=0, Caller=0
01-29 10:01:41.626  1006 13990 D BiometricService: checkAndGetBiometricModality: user=0 isHardwareDetected=true hasTemplatesEnrolled=true enabledForApps=true
01-29 10:01:41.642   789   789 I keystore: del USRPKEY_KEY_STORE_TEST_KEY 10323
01-29 10:01:41.643   789   789 I keystore: del USRSKEY_KEY_STORE_TEST_KEY 10323
01-29 10:01:41.643   789   789 I keystore: del USRCERT_KEY_STORE_TEST_KEY 10323
01-29 10:01:41.644   789   789 I keystore: del CACERT_KEY_STORE_TEST_KEY 10323
01-29 10:01:41.647   500   500 W /vendor/bin/hw/android.hardware.keymaster@3.0-service: Not performing software digesting for symmetric cipher keys
01-29 10:01:41.647   500   500 W /vendor/bin/hw/android.hardware.keymaster@3.0-service: Not performing software digesting for symmetric cipher keys
01-29 10:01:41.659   679   691 D DrmLibTime: got the req here! ret=0
01-29 10:01:41.659   679   691 D DrmLibTime: command id, time_cmd_id = 770
01-29 10:01:41.659   679   691 D DrmLibTime: time_getutcsec starts!
01-29 10:01:41.659   679   691 D DrmLibTime: QSEE Time Listener: time_getutcsec
01-29 10:01:41.659   679   691 D DrmLibTime: QSEE Time Listener: get_utc_seconds
01-29 10:01:41.659   679   691 D DrmLibTime: QSEE Time Listener: time_get_modem_time
01-29 10:01:41.659   679   691 D DrmLibTime: QSEE Time Listener: Checking if ATS_MODEM is set or not.
01-29 10:01:41.659   679   691 D QC-time-services: Lib:time_genoff_operation: pargs->base = 13
01-29 10:01:41.659   679   691 D QC-time-services: Lib:time_genoff_operation: pargs->operation = 2
01-29 10:01:41.659   679   691 D QC-time-services: Lib:time_genoff_operation: pargs->ts_val = 0
01-29 10:01:41.660   679   691 D QC-time-services: Lib:time_genoff_operation: Send to server  passed!!
01-29 10:01:41.660   731   766 D QC-time-services: Daemon: Connection accepted:time_genoff
01-29 10:01:41.661   731  6190 D QC-time-services: Daemon:Received base = 13, unit = 1, operation = 2,value = 0
01-29 10:01:41.661   731  6190 D QC-time-services: Daemon:genoff_opr: Base = 13, val = 0, operation = 2
01-29 10:01:41.661   731  6190 D QC-time-services: offset is: 0 for base: 13
01-29 10:01:41.661   679   691 E QC-time-services: Receive Passed == base = 13, unit = 1, operation = 2, result = 0
01-29 10:01:41.661   679   691 D DrmLibTime: QSEE Time Listener: ATS_MODEM is not set. Fallback to Android system time.
01-29 10:01:41.661   679   691 D DrmLibTime: QSEE Time Listener: Retrieved Android system time: 1611910901
01-29 10:01:41.661   679   691 D DrmLibTime: time_getutcsec returns 0, sec = 1611910901; nsec = 0
01-29 10:01:41.661   679   691 D DrmLibTime: time_getutcsec finished!
01-29 10:01:41.661   679   691 D DrmLibTime: iotcl_continue_command finished! and return 0
01-29 10:01:41.661   679   691 D DrmLibTime: before calling ioctl to read the next time_cmd
01-29 10:01:41.662   731   766 E QC-time-services: Daemon: Time-services: Waiting to acceptconnection
01-29 10:01:41.671   789  6189 W /system/bin/keystore: Trying to serialize unknown tag 1879048895. Did you forget to add it to all_tags_t?
01-29 10:01:41.683   789  6189 D DropBoxManager: About to call service->add()
01-29 10:01:41.684  1006 13990 I DropBoxManagerService: add tag=keymaster isTagEnabled=true flags=0x0
01-29 10:01:41.698   789  6189 D DropBoxManager: service->add returned No error
01-29 10:01:41.708   789   789 I keystore: del USRPKEY_KEY_STORE_TEST_KEY 10323
01-29 10:01:41.709   789   789 I keystore: del USRCERT_KEY_STORE_TEST_KEY 10323
01-29 10:01:41.710   789   789 I keystore: del CACERT_KEY_STORE_TEST_KEY 10323
01-29 10:01:41.733   500   500 W /vendor/bin/hw/android.hardware.keymaster@3.0-service: Not performing software digesting for symmetric cipher keys
01-29 10:01:41.733   500   500 W /vendor/bin/hw/android.hardware.keymaster@3.0-service: Not performing software digesting for symmetric cipher keys
01-29 10:01:41.744   500   500 E keymaster1_device: Finish send cmd failed
01-29 10:01:41.744   500   500 E keymaster1_device: ret: 0
01-29 10:01:41.744   500   500 E keymaster1_device: resp->status: -38
01-29 10:01:41.746  6134  6134 D AndroidRuntime: Shutting down VM
01-29 10:01:41.747  6134  6134 E AndroidRuntime: FATAL EXCEPTION: main
01-29 10:01:41.747  6134  6134 E AndroidRuntime: Process: com.starfinanz.mobile.android.pushtan, PID: 6134
01-29 10:01:41.747  6134  6134 E AndroidRuntime: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
01-29 10:01:41.747  6134  6134 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:501)
01-29 10:01:41.747  6134  6134 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:925)
01-29 10:01:41.747  6134  6134 E AndroidRuntime: Caused by: java.lang.reflect.InvocationTargetException
01-29 10:01:41.747  6134  6134 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
01-29 10:01:41.747  6134  6134 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
01-29 10:01:41.747  6134  6134 E AndroidRuntime:        ... 1 more
01-29 10:01:41.747  6134  6134 E AndroidRuntime: Caused by: javax.crypto.BadPaddingException
01-29 10:01:41.747  6134  6134 E AndroidRuntime:        at android.security.keystore.AndroidKeyStoreCipherSpiBase.engineDoFinal(AndroidKeyStoreCipherSpiBase.java:515)
01-29 10:01:41.747  6134  6134 E AndroidRuntime:        at javax.crypto.Cipher.doFinal(Cipher.java:2055)
01-29 10:01:41.747  6134  6134 E AndroidRuntime:        at sf.bu1.a(SourceFile:14)
01-29 10:01:41.747  6134  6134 E AndroidRuntime:        at sf.sj1.b(SourceFile:7)
01-29 10:01:41.747  6134  6134 E AndroidRuntime:        at sf.oj1.l(SourceFile:1)
01-29 10:01:41.747  6134  6134 E AndroidRuntime:        at sf.bp1.j(SourceFile:2)
01-29 10:01:41.747  6134  6134 E AndroidRuntime:        at sf.nl1.r(SourceFile:2)
01-29 10:01:41.747  6134  6134 E AndroidRuntime:        at com.starfinanz.mobile.android.pushtan.presentation.login.LoginFragment.h0(SourceFile:2)
01-29 10:01:41.747  6134  6134 E AndroidRuntime:        at sf.uc.V(SourceFile:178)
01-29 10:01:41.747  6134  6134 E AndroidRuntime:        at sf.uc.T(SourceFile:4)
01-29 10:01:41.747  6134  6134 E AndroidRuntime:        at sf.uc.U(SourceFile:6)
01-29 10:01:41.747  6134  6134 E AndroidRuntime:        at sf.uc.E(SourceFile:81)
01-29 10:01:41.747  6134  6134 E AndroidRuntime:        at sf.uc.a0(SourceFile:11)
01-29 10:01:41.747  6134  6134 E AndroidRuntime:        at sf.uc.C(SourceFile:14)
01-29 10:01:41.747  6134  6134 E AndroidRuntime:        at sf.uc$d.run(SourceFile:1)
01-29 10:01:41.747  6134  6134 E AndroidRuntime:        at android.os.Handler.handleCallback(Handler.java:883)
01-29 10:01:41.747  6134  6134 E AndroidRuntime:        at android.os.Handler.dispatchMessage(Handler.java:100)
01-29 10:01:41.747  6134  6134 E AndroidRuntime:        at android.os.Looper.loop(Looper.java:214)
01-29 10:01:41.747  6134  6134 E AndroidRuntime:        at android.app.ActivityThread.main(ActivityThread.java:7356)
01-29 10:01:41.747  6134  6134 E AndroidRuntime:        ... 3 more
01-29 10:01:41.747  6134  6134 E AndroidRuntime: Caused by: android.security.KeyStoreException: Invalid argument
01-29 10:01:41.747  6134  6134 E AndroidRuntime:        at android.security.KeyStore.getKeyStoreException(KeyStore.java:1303)
01-29 10:01:41.747  6134  6134 E AndroidRuntime:        at android.security.keystore.KeyStoreCryptoOperationChunkedStreamer.doFinal(KeyStoreCryptoOperationChunkedStreamer.java:224)
01-29 10:01:41.747  6134  6134 E AndroidRuntime:        at android.security.keystore.AndroidKeyStoreCipherSpiBase.engineDoFinal(AndroidKeyStoreCipherSpiBase.java:506)
01-29 10:01:41.747  6134  6134 E AndroidRuntime:        ... 21 more
01-29 10:01:41.753  1006  8684 W ActivityTaskManager:   Force finishing activity com.starfinanz.mobile.android.pushtan/com.starfinanz.mobile.android.spushtan.SPushTan
01-29 10:01:41.754  1006  6198 I DropBoxManagerService: add tag=data_app_crash isTagEnabled=true flags=0x2
01-29 10:01:41.762  1006  7410 E BufferQueueProducer: [unnamed-1006-69] setMaxDequeuedBufferCount: 2 dequeued buffers would exceed the maxBufferCount (2) (maxAcquired 1 async 0 mDequeuedBufferCannotBlock 0)
01-29 10:01:41.764  1006  7410 E Surface : IGraphicBufferProducer::setBufferCount(3) returned Invalid argument
01-29 10:01:41.767  2842 27860 W NetworkScheduler: Error inserting flex_time=692000 job_id=-1 period=1386000 source=16 requires_charging=0 preferred_network_type=1 target_class=com.google.android.gms.measurement.PackageMeasurementTaskService user_id=0 target_package=com.google.android.gms tag=Measurement.PackageMeasurementTaskService.UPLOAD_TASK_TAG task_type=0 required_idleness_state=0 service_kind=0 source_version=205016000 persistence_level=1 preferred_charging_state=1 required_network_type=0 runtime=1611910901719 retry_strategy={"maximum_backoff_seconds":{"3600":0},"initial_backoff_seconds":{"30":0},"retry_policy":{"0":0}} last_runtime=0, error message: UNIQUE constraint failed: pending_ops.tag, pending_ops.target_class, pending_ops.target_package, pending_ops.user_id (code 2067 SQLITE_CONSTRAINT_UNIQUE) [CONTEXT service_id=218 ]
01-29 10:01:41.781  2842 30294 I NetworkScheduler.Stats: Task com.google.android.gms/com.google.android.gms.checkin.EventLogService started execution. cause:5 exec_start_elapsed_seconds: 90226 [CONTEXT service_id=218 ]
01-29 10:01:41.783  6134  6134 I Process : Sending signal. PID: 6134 SIG: 9
01-29 10:01:41.785   670   670 E lowmemorykiller: Error writing /proc/6134/oom_score_adj; errno=22
01-29 10:01:41.817  3196 32486 I Checkin : [EventLogChimeraService] Opted in for usage reporting: false
01-29 10:01:41.817  3196 32486 I Checkin : [EventLogChimeraService] Aggregate from 1611908802786 (log), 1611908802786 (data)
01-29 10:01:41.853  1006 13990 I WindowManager: WIN DEATH: Window{437b4c7 u0 com.starfinanz.mobile.android.pushtan/com.starfinanz.mobile.android.spushtan.SPushTan}
01-29 10:01:41.855  1006  2664 I ActivityManager: Process com.starfinanz.mobile.android.pushtan (pid 6134) has died: vis+99 TOP
01-29 10:01:41.879  1006  1133 W ActivityManager: setHasOverlayUi called on unknown pid: 6134
01-29 10:01:41.904  2166  2181 I ndroid.systemu: NativeAlloc concurrent copying GC freed 228514(9951KB) AllocSpace objects, 6(1408KB) LOS objects, 53% free, 10MB/22MB, paused 101us total 122.266ms
01-29 10:01:41.908  2166  2166 D ImageWallpaper: wallpaper visibility changes to: true
01-29 10:01:41.927   536   536 I Zygote  : Process 6134 exited due to signal 9 (Killed)
01-29 10:01:41.946  1006  1157 I libprocessgroup: Successfully killed process cgroup uid 10323 pid 6134 in 89ms
01-29 10:01:42.144  1006  4312 I DropBoxManagerService: add tag=event_log isTagEnabled=true flags=0x2
01-29 10:01:42.159  1006  4312 I DropBoxManagerService: add tag=event_data isTagEnabled=true flags=0x2
01-29 10:01:42.226  2842 32121 I NetworkScheduler.Stats: Task com.google.android.gms/com.google.android.gms.checkin.EventLogService finished executing. cause:5 result: 1 elapsed_millis: 505 uptime_millis: 505 exec_start_elapsed_seconds: 90226 [CONTEXT service_id=218 ]
01-29 10:01:42.254  1006  1133 W ActivityTaskManager: Activity top resumed state loss timeout for ActivityRecord{d9661ce u0 com.starfinanz.mobile.android.pushtan/com.starfinanz.mobile.android.spushtan.SPushTan t-1 f}
01-29 10:01:42.374  2842  2270 W Conscrypt: Could not set socket write timeout: java.net.SocketException: Socket closed
01-29 10:01:42.404  2842  2270 W Conscrypt:     at com.google.android.gms.org.conscrypt.Platform.setSocketWriteTimeout(:com.google.android.gms@205016037@20.50.16 (120400-351607135):2)
01-29 10:01:42.404  2842  2270 W Conscrypt:     at com.google.android.gms.org.conscrypt.ConscryptFileDescriptorSocket.setSoWriteTimeout(:com.google.android.gms@205016037@20.50.16 (120400-351607135):0)
01-29 10:01:42.456  2842  2270 W Conscrypt: Could not set socket write timeout: java.net.SocketException: Socket closed
01-29 10:01:42.457  2842  2270 W Conscrypt:     at com.google.android.gms.org.conscrypt.Platform.setSocketWriteTimeout(:com.google.android.gms@205016037@20.50.16 (120400-351607135):2)
01-29 10:01:42.457  2842  2270 W Conscrypt:     at com.google.android.gms.org.conscrypt.ConscryptFileDescriptorSocket.setSoWriteTimeout(:com.google.android.gms@205016037@20.50.16 (120400-351607135):0)

The StarFinance programs and apps are usually heavily obfuscated and protected against cloning and manipulation. I would assume that all data this app creates is bound to your device. Therefore this app implements anti-backup/cloning measurements. Ask the app developer company and they will most likely tell you something similar.

I already orderer a new activation code so thats not that big of a deal this time. But this backup is from the same device running the same OS (its really exactly the same device without any SO update in between) So I think it should be possible to recover the state. When I ask the company they will tell me "You are not allowed to use this app on a rooted device" So I don't think that I get any useful information from them.

I would assume that this app uses the hardware based AndroidKeystore which Titanium can not backup. There are other apps that also use AndroidKeystore and thus can't be backuped by Titanium. See for example here: TWRP Backup restoring Line/Whatsapp problem


text:
VPN hotspot with setting for any VPN server preferably opensource
I've tried web search and installed one VPN hotspot app (be.mygod.vpnhotspot) from google play, but could not find in it settings for VPN server ip.
The task in to connect to my OpenVPN server and provide transparent ip spoofing for devices connected to my phone by WiFi and/or USB. Is there such app (preferably opensource)?
I understand root is required. Is there a way to make phone connect to some WiFi-spot and be via that app WiFi spot with VPN? If not, then get internet from WiFi and make its spot for USB tethering.

Can you please reword your question? I read it twice but couldn't get what you are asking.


text:
How to delete the Multiuser mode in my mobile?
I would like to remove(delete) the Multiuser mode in Realme XT.
I want my phone to be simple.
I have unlocked bootloader and rooted my phone and removed all useless bloatwares.
Can someone please give me an adb command or the file in root to delete, So There is no option for Multiuser mode in my mobile.

Check to maximum number of users with pm get-max-users. then set the number of users with setprop fw.max_users x where x is the number of users. Use su in case you don't have permission.

The "Multiuser mode" is part of your OS and can not be removed, just disabled. You can delete additional user profiles you have created but messing around with system components will only end up in a non-bootable or bricked phone.


text:
Enable "Unknown sources" for secondary user
How do I enable unknown sources on secondary user because she I try install the file it says enable unknown sources but when I go on settings the unknown sources is greyed sand it's disable and I can't enable it.please help me

Related https://android.stackexchange.com/questions/60799/allowing-app-installs-from-unknown-sources-for-secondary-users-on-android-4-4 and https://android.stackexchange.com/questions/149994/enableing-unknown-sources-installation-from-2nd-user-on-android-6-0


text:
How can I charge Motorola One normally?
tl;dr: Every setup that I tried so far ends up with "Charging rapidly" or "Charging slowly" on my Motorola One. What kind of charger (or power source) and cable should I use in order to charge this phone at a standard charging pace?

I was always told that to charge phone rapidly / use QC etc. you need:

correct rather good quality cable,
proper charger, 2 A at output at minimum.

The thing is that on my Motorola One I am getting "Charging rapidly" even on cheap 0.5 USD cable connected to:

1 A charger (which needs 5-6 hours on other phones),
2.0 and 2.4 A charger (which charges other phones in about 2-3 hours) and
10 A QC 3.0 charger (which charges other phones in about 1+ hour)

Actually my Motorola One is the only mobile device (out of 15+) in my home that reports "charging rapidly" on every of above setup, even on cheap cable and 1.0 A charger (which isn't able to quickly-charge any other device).
On the other hand, when I connect it to a regular (non-QC) USB, I am always getting "charging slowly", even on very new and expensive PCs (which are told to have 1 A on USB) and even on high-quality, QC-ready cables.
So my question is, what is the correct setup to charge Motorola One "normally"? Is it possible at all in case of this device?
This question is entirely on getting correct setup to charge Motorola One neither quickly nor slowly (if possible). I don't want to discuss here any related issues like "quickly charging doesn't make your battery weaker anymore, so why you're asking, go ahead and quickly charge every time". Please, don't post comments like that. Thank you.

Kind of related: Wattage for charging status (customizable per device model)

When I search for "Motorola One" I only get results for multiple devices like "Motorola One Zoom" or other words after "One". Different devices may use different fast charging technologies, therefore you should exactly name your device.

Does this answer your question? How do I design a 2A or more power supply for my consumer USB devices?

@AndrewT. Truly, related. It clearly defines meanings of "charging rapidly" and "charging slowly", based on wattage (some could even say that my question is a duplicate of that linked one). You could use this information to answer my question (use any cable with 5-7.5W charger). I won't be able to make any use of this answer, because for some weird reason none of my chargers provided any information on power in watts, it delivers. Only output voltage and current. But, the question will truly be answered.

@Robert Well... I bought it in Poland, titled exactly "Motorola One 4/64GB Dual SIM white". Here is the link (destination page is in Polish) to the shop and actual model that I purchased. I assume that this is simply "first edition" of Motorola One. When shipping it to the market they didn't know, if this "will hit", whether there will be some other models or continuations and simply didn't care to add it some special catchy name, I suppose.

@alecxs Not at all, sorry. I don't want to design my own charger! :>

if you look at the schematics you will see all it takes is some resistores on the data pins to control charging protocol. these do not necessarily have to be inside the cable. some short circuit (dirt / water) could have same effect. it might also possible this devices comes with resistores on pcb charging dock

@alecxs It is possible that you're getting me all wrong. I don't want to reinvent the wheel. Please, take a look at my last sentence in the question, where I am asking if this is possible at all. Maybe not? Maybe, due to information that Andrew T. shared with us, no matter which cable and charger I'll use, my phone will always report "charging quickly" and when I use USB port for charging -- will always say "charging slowly".

yes, and i gave you another possible reason why

pc won't deliver more than 500 mA no matter what charging mode is requested on data pins, that's limitation in usb protocol. see High-power device https://www.wikipedia.org/wiki/USB#Low-power_and_high-power_devices

you may find one of these apps helpful https://android.stackexchange.com/q/232920


text:
Keyboard overlaps text boxes
I've been having this strange issue for a while where my keyboard overlaps in app text boxes. It happens with every kind of text box that sits on top of the keyboard. It seems like it aligns with the bottom of the selected text rather than the box. It's really annoying to type this way. Especially when trying to edit something higher up in the text. I then have to close the keyboard in order to be able to go back to the end and put my cursor there.
I attached a screen shot of the issue. It's showing SwiftKey but it also happens with the default keyboard.
I'm running lineage os 17.1.

I’m voting to close this question because the ROM in question is not a stable release. Custom ROM bugs are best to be addressed by their developers. Our policy is to close such questions. See https://android.meta.stackexchange.com/q/2077/96277

it would be good if your report this as a bug to LOS developers. They can fix it.

Apparently this is not a common issue as I have found nobody else having it. I found that the issue is only present in the full screen mode (i.e: when te status bar is hidden). Cant really wrap my head around why that would happen but at least it's a fix for now.


text:
How do I find out who sent me a WhatsApp picture located in my photo gallery?
when i look up photos in my gallery, i get interested in few of them, and realize that they were sent on a group via WhatsApp. but how to identify which group and who is the sender?

You need access to Whatsapp's databases stored in its app directory. If it permits adb backup, you can try to take backup and look into it. Otherwise, you would need root access. Afterwards, search into databases where the media files are referenced. They would probably be referenced through a row_id. It is too much work so I can't post a working answer.

@Firelord afaik WhatsApp can export chat in txt or xml format, maybe query on that files will work

@alecxs when exporting chats (with media) the text file of chat history does show the file name of the images along with who sent it. So yeah, that's one and a rather easier (than mine) way to go.


text:
Can default alarms be accessed as audio files?
For a Pixel 2 with Android 11, are the default alarms stored locally as audio files? If yes, can the files be accessed through a file browser?

The default audio files that come with Android are encoded using the OGG Vorbis encoder and therefore you can find them in file-.system as .ogg files.
On Pixel phones the audio files are located in the path /product/media/audio/alarms/ respectively /system/product/media/audio/alarms/ (visible in this path in file manager apps like Cx File Explorer).
Use a file manager app or adb to access those files. the path is a bit different.


text:
Android Chrome - shortcut icons shown on Chrome home page
there are up to 8 shortcuts on the android chrome homepage. How do I specify which web pages I want them to link to?

You can't edit the shortcut manually. The workaround to add a shortcut is:

Step 1: Remove one that you don't want.
Step 2: Open a new tab, type/paste the URL of the webpage you want, and go to that site.
Step 3: Repeat Step 2 once or twice more. The next type you open the homepage, the webpage shortcut will be added/listed.

Thanks, I've also found out that it won't add a shortcut if that page is bookmarked. Seems a flakey system.


text:
Need Help Making 7" Monitor Display Android Screen
I got a 7 inch ultra thin TFT LCD Color Monitor that has HDMI, AV, VGA, and is DC12 volt - USB 5 Volt by TOGUARD D701.
I want to use it in my car with a android device (phone or tablet) to display things like GPS or music.
So far I can not get any android device (only phones so far) to display. I have also tried an old iPhone 5s and an iPod that is 5 years old with HDMI adapters for both apple and android products.
I can't seem to get anything to display onto the dumb monitor. (Dumb meaning no OS to it besides the device trying to connect).
What do I need or am I doing wrong? I need to set this monitor up so my father can plug his phone in and have a GPS he can see. The monitor is brand new and can connect to an Xbox one. So why won't an any android phone display when connected. The phones support MHL HDMI. Do I need a different type of supported HDMI connection?

MHL needs to be supported by both devices. As this display does not seem to support it you need an MHL to HDMI converter. In the end the combination of smartphone, adapter and display is not very portable. Wouldn't it be easier to use a 7" phablet?

while external monitor should work on every MHL device with proper cables, most devices can't be charged simultaneously https://electronics.stackexchange.com/q/34741
it's worth mention that charging with these cheap otg charge hubs didn't work on any of my devices https://android.stackexchange.com/q/220032 make some tests before buying phone


text:
Samsung Galaxy S7 Edge blank screen
Recently my S7 edge got blank screen and last thing I saw was samsung logo then it turned off and I don't see anything else only black screen. I tried using that vol up/down power/home force restart but device didn't respond it's fully charged and when I charge the phone fnothing shows up. I don't know if this is correct community for troubleshooting this kind of problem but I need help.

So by "force restart" you mean pressing the power button for a long time? If that has no effect the chance is high that you are facing a hardware defect.

@Robert no pressing volume down and power button for 20 seconds. I tried all variants of force restart e.g. pressing volume down, power button and home button for 20 seconds.

@alecxs even if battery dies and I connect to charger it doesn't show anything phone's state is unknown I don't know if it's on or off correct me if I'm wrong. Thanks.

You don't know if it's on or off. disconnect the battery (or wait ~ 1 week until battery died)


text:
Getting McAfee warnings despite not having McAfee?
I own a Galaxy S10, and after the recent update I've started getting warnings from McAfee in my Chrome browser telling me sites I've been visiting for years are suspicious... except I don't have and have never had McAfee installed on my phone or browser. I've searched my apps and turned up empty-handed, and searching online hasn't helped either, so any idea what this is?

Do you think the warning is displayed by an app or can the warning be caused by the web-site itself (e.g. a dialog created by JavaScript in the HTML page may be from an ad shown on the page)?

If possible, could you take the screenshot when it happens and upload it here? Currently, I believe it's kind of the usual scareware to make you "download/buy" (fake) antivirus app.

After further investigation it appears to be the digital secure app. I'm not sure why it says McAfee in the browser.

Is this Verizon's Digital Secure? Looks like Verizon is working together with McAfee.


text:
How to check Bluetooth audio codecs on Android 5.0
I have an old Note 3 phone that I use as a music player. I am trying to find out if it supports the aptX Bluetooth codec. I turned on developer mode and all the instructions I can find online say to go to “Audio codec” under the “Developer Options” menu. I go to the “Developer Options” menu but there is no entry for “Audio codec.” On Android 5.0 are the codecs listed in a different place?
If it does not have aptX is that something that can be added?

Related or possible duplicate https://android.stackexchange.com/questions/62737/list-of-supported-a-v-and-image-codecs/212226#212226

aptX needs to be supported in hardware therefore it can not be added to an Android smartphone. At least for the non-US versions aptX support seems to present in Samsung Galaxy Note 3: https://forum.xda-developers.com/t/solved-aptx-support-for-the-note-3-us-european-korean-version-confirmed.2455303/

@Robert Thanks for that info. Hopefully someone will answer how to look that up. The answer Reddy put as possible dupe doesn't make sense to me. Sometimes I think you have to go in and activate aptX.

@ReddyLutonadio I have never used ADB. Maybe I can try that. It just seems there should be some way to look up the audio codecs without a third party tool. Maybe not.

Have you tried Media Codec Info?

@ReddyLutonadio aptX is a Bluetooth codec. From what I can see the media Codec Info app you have linked only shows audio/video codec available on Android. On my aptX capable tablet it does not show anything regarding aptX.

@Robert Noted, thanks for the info.

The only way to check I found so far is in the Android Developer Options.
On some devices there is an entry named "Bluetooth-Audio-Codec". If this list contains an entry with "aptX" as shown in the following screen shot it should be sure that the device supports aptX:

The screen shot is from an Android 9 tablet. Not sure about older Android versions. It may happen that you don't have no "Bluetooth-Audio-Codec" entry in the Developer Options menu, in that case this method does not work for you.

Don't know if this is universal, but /system/etc/bt_configstore.conf/ has many properties per platform. Each platform has a property named a2dpOffloadCapability whose value is those codecs. In my Oneplus 6, for my SoC/platform, the value is sbc-aptx-aptxtws-aptxhd-aac-ldac. They are exactly what listed in that developer option setting too.

@Firelord I checked all my devices I have access to (4 in total from Sony, Lenovo, Samsung, Google running Android 8-11) and none of them had this directory, just the standard /system/etc/bluetoth/. Googling for bt_configstore.conf does not get you many results and most of them are related to Chinese Android manufacturer. Therefore this directory does not seem to be universal.

Thanks for the info. And sorry, the full path was /system/etc/bluetooth/bt_configstore.conf. OnePlus is also a Chinese OEM so that clears things.

@Firelord I made a full-text search in /system/etc/ for grep -Ri apt respectively grep -Ri aptx but no result :(


text:
What does used com.Samsung.android.incallui mean in recent activity?
In my child’s recent activity it says
used com.Samsung.android.incallui. What does that mean?
Thanks so much!

incallui = incoming (or in/active) call user interface.

It is the phone/call app. It simply means that the child opened it.


text:
Im concerned about my android phone
So i just recently got a new phone. Android - LG K51 - however after running a root checker it says my phone has two available android versions. Android 9.0 and Android 10.0. Ive checked and the phones is running on Android 9.0. Ive also looked into the credentials and theres a whole list of apps downloaded that have the name Root in them. As well as a system file saying RootPA. Is my phone as risk or is it still safe?

This website din't let me comment so I'm answering. Did you root using kingroot or something like that, if yes then flash the stock rom and try magisk,supersu. Good luck!

remove all google accounts. do factory reset. check your bootloader is locked. check if you can install OTA via settings menu. both together indicates the device is healthy

the question is tagged unrooting therefore i don't think OP ask about rooting. concern is about malware

https://forum.xda-developers.com/t/what-is-rootpa.2824458

Just want to clarify, I assume you bought/got the (refurbished?) phone already with root apps, but not root access? And now you're trying to make sure that the device is secure/unrooted?

The LG K51 has many variants. All variants have Android 10 except the LG K51 for Boost Mobile which has Android 9.

Ive also looked into the credentials and theres a whole list of apps downloaded that have the name Root in them. As well as a system file saying RootPA. Is my phone as risk or is it still safe?

When trying to root via 3rd party apps, they download files (and bloatware) that must be use to root. If you really want to root your phone, better search Xda-Developers to find if there are methods for your phone instead of using the one-click apps.

@alecxs And there is also root-access tag, plus there is no mention on the OP about how to unroot the phone.

I've asked the OP to clarify the question. Currently, I'm interpreting as alecxs', but we don't really know until the OP confirms it.

@AndrewT. No problem.


text:
Can Termux adb push file from unrooted phone to tablet via OTG cable?
Can I use Termux to send an app (APK file) via, e.g., adb push, from my unrooted Samsung Galaxy S10 phone to an unrooted Android 5.1.1 tablet via an OTG cable?

ok got it. your goal is 'adb backup -apk ' on host, then adb push, switch host <-> client and 'adb restore backup.ab' all from within termux (ignoring apk is most likely not compatible between android versions), or unpacking backup.ab to get apk only

unfortunately 'adb start-server' requires root (at least for usb connection). once the connection is established it works without root permissions. is adb over wifi an option for you? https://github.com/MasterDevX/Termux-ADB

there is an app claiming to do this without root (did not work for me) https://github.com/KhunHtetzNaing/ADB-OTG

@alecxs wireless ADB should work.

@IrfanLatif question is about OTG cable. i believe the API used in that apps is sufficient. only authorization is unclear to me. any idea on non-rooted device? after 'su -c ../usr/bin/adb -d start-server' in termux authorization dialog appears. once established adb works without root

@alecxs yes but we need to go for alternative when there are technical limitations. On Android /dev/ is never going to be fully accessible (in DAC and MAC) to user apps anytime in future. If we see a library with USB host APIs for ADB commands, that would be awesome. But doesn't seem very probable. For fastboot there's already one available from Google.


text:
My Android phone keeps restarting in short cycles
I have Xiaomi Mi A2 and yesterday when I was using it, it started to restart continuously only loading the android one logo then crashing again. I've tried things like holding down power+voldown and power+volup to reach the safe boot, but the thing is that it restarts again before even loading it. I also though the power on button might be stuck so I've tried to click it through multiple times but does not seem so. I also tried removing SIMs. I did not install anything new in a long time. It discharged itself after multiple hours of repeated restarts.
Anyone has the same experience and would know what to do? Also is there a way to at least wipe the phone contents somehow before returning it to the shop?

Connect it to a charger. If that changes the restart behavior your battery is near death and has to be replaced.

your power button stuck or is short circuited/wet

@Robert I tried that and it just kept restarting with low battery. I suppose battery should be OK then, but thanks for the idea.

@alecxs Hey I realise now that I indeed splashed a bit of my drink on it but I went and cleaned it and it worked like 20 minutes before this happened. Happened to me already multiple times and never really was an issue so I did not though of that as the spill was little. But I guess it could get somewhere and after further manipulation it could slide deeper into the device. Anyways, I tried to recharge it after like 15 hours so I would expect the water to dry out by now. I will probably try to wait longer and see if anything changes. Thanks for the idea.

@alecxs Thanks for the info. I might try to put the phone into uncooked rice (wrapped in paper towel) maybe that can speed things up. It should not make it worse at least.

@alecxs Yeah, but I've read that if not cautious enough the heat can damage the phone. Because I don't really know the materials and specs of the phone, I'll probably stay on the very cautious side on this one. But thanks for the tip.

@alecxs Hey, thanks for asking. I've tried the rice in closed casket with additional heating (roughly 30-40 celsius) for couple of days and also hair dryer cautiously on the lowest setting (roughly 50 celsius) for like 10-15 minutes, because I was desperate. Sadly still not progress. I think I will try the hair dryer once more for longer period as it clearly did nothing to the phone and if no progress, I will take the phone to shop. I would even try the oven but my oven is currently behaving very unpredictable because its quite old so I'm thinking its probably not worth the risk.


text:
How can I prevent Telegram from notifying me about contacts that recently joinedTelegram
I don't want to get any message when a contact starts to use telegram. In the notification settings switched off notifying me when a contact has joined telegram, but my telegram chat history is still full of messages such as "John Smith uses Telegram now!".
And the telegram icon also shows that there are new messages even if I got no real new messages but only some contacts joined Telegram.
This is really annoying, especially now when many people start using telegram.

You can stop these by going to Settings > Notifications and Sounds > Contact joined Telegram. Turn that option off and you won't get notifications about new contacts joining.

-Quora answer

This is what I did as described in my questions, but I still get the messages in my telegram chat history, but the answer you linked from Quora is more detailed. Unfortunately, it is not possible to getr the desired effect without other side-effects, one would get when disabling synchronisation of contacts.


text:
Is it possible to change maximum battery capacity to a lower value?
AccuBattery says my phones battery health capacity is around 80-90%. Android and all other devices naturally keeps charging to 100%, even though it will only be 90% charged. To me, this seems to be the reason some capacity ranges might be unstable and the phone quickly die when it reaches 15%, because it tries to stretch the capacity without knowing it is doing it. So the question is, is there any simple apps to just replace or use a different battery percent viewer, or some other options, that lets me set the maximum capacity to the health of the battery? So in that way it will be as stable as it was when it was new, still charge to max, but rather spread the 90% health on 90% capacity and then dont have any sudden drops and unstable battery life.
Prefered non-root options or any launchers with these options, but if there exists a root-way i would love to know it

If your device is rooted the chance is high that you can use an app that stops charging when a certain level is reached e.g. Battery Charge Limit. Alternatively on non-rooted devices you can use an app that notifies you when the specified battery level is reached so that you can disconnect the device from charger.

Its not about stopping charging, but changing the max value from 100% to the realistic 90% and make it therefore more normal when decharging

The battery charging uses a special controller chip which determines how full a battery is based on the charging current. That is like a self-learning system as the max battery capacity can change at any time because the battery gets weaker. Not sure if it is possible even with root permissions to modify the charging process.

Thats true and might cause big problems. Unless you can modify the code of the chip to say the max is the battery health left, you could make a program that simply divided health by 100% capacity, then multiplied with what should be left in the original. So with 80% health, having 50% would be instead 80/100*50 would give 40%. It may be inacurate and maybe not allways right but its maybe better than unstable full 100%

I don't think that this chip is programmable at all but I am not an electronic expert.


text:
How to control the volume of an Android device from an iPhone?
How to control the volume of an Android device from an iPhone?

Something about the self-promotional question/answer pair seems a little "off", but we'll leave it to the community at large to decide.

I totally agree, I would totally understand if that question was deleted. I did not do that question/answer earlier because indeed, it is self-promotion. But the thing is : 1/ my app is (and will remain) free, no ad, open source, I earn nothing from it. 2/ I talked about my app in the linked question, but my app can be the answer to more questions (remote not only from PC) 3/ finally, that article made me think it was ok, "a question that you already know the answer to, and you would like to document that knowledge" : https://stackoverflow.com/help/self-answer

@tanaka42 FWIW, free/no-ad/open-source is not a factor to decide if it's spam or not. SE has a guideline for self-promotion in that it has to be non-excessive and always disclosed. The fact that you disclosed it here seems okay-ish, I think.

Understood. Thank you I will read the guideline carefully. I did edit my answer so the self-promotion disclosure is even more obvious. I have also added alternative solutions to my product so not all my answer is self-promotional.

You could use my free open-source and no-ad app, Web Remote Volume Control, I have made it myself to address this exact purpose, see my answer on this thread.
Full disclosure: I am the author of this free, ad-free, and open-source app.
You could instead use Teamviewer plus a slider widget (Teamviewer Remote Control on the iPhone, Teamviewer Quick Support on the Android device, and also a sound volume slider widget on the Android device), but this may not be free.
You could maybe also use Airdroid, but I think it is not free either.

Something about the self-promotional question/answer pair seems a little "off", but we'll leave it to the community at large to decide.

I added a full disclosure for the author.  I think between the OP's good-faith edits and the disclosure, this answer is good now.  I've upvoted it.


text:
Samsung galaxy j6 plus stolen, lockscreen bypass possible?
My phone was stolen and there is alot of sensitive data in it
There was a lock screen in pin format, it was not a third party app
There was not sd memory card
Developper mode was not enabled
The phone was not encrypted
Android was up to date
Can the thief access its contents like apps contents and pictures ?
Thanks alot

"phone was not encrypted" is contradictory with Android 8.1 (Oreo) can't be true. have you unlocked bootloader and modified your phone to remove encryption? if it is a 5 digit pin your data is safe for a week. the only access is incoming calls and notifications. if your SIM card has no own pin protection it can be misused. btw normal thief usually is not interested in your data. check Find My Mobile or Find My Device there you can remote erase (if not visible device is most likely factory reset already)


text:
How does Helium Backup work?
I'm currently looking around at different options for adding regular backups to a new phone, and I want more than the "backup" that google offers.
There's the one category, backup apps that use root access, like Titanium Backup and OAndBackupX. The way they work is fairly clear, since they have root access, they can just copy all the files that represent the apps' data.
But then, there's Helium, a non-root app. Somehow, it claims to backup app data (which seems to work, from what people are saying), but nowhere have I found any indication as to how Helium Backup even accesses that data. The way I understand Android's permission model, when an app stores data in its private storage, no other standard app has access to that, period. The only other software that can access that data is system apps, root access, and ADB backup (although adb backup can also be disabled for the specific app - and ADB needs a computer attached to work). Seeing that none of the three apply for Helium backup, how does Helium backup then work? Or is this some wonky hacky trade secret the developers don't want to reveal?

Just read the description of Helium. There you can find the answer that it based on adb backup.

@Robert OK, but I thought ADB backup goes via USB, so that you would be have to connect a computer? Helium, though, does backups without having a computer attached. Or did I misunderstand something?

https://www.xda-developers.com/tasker-5-9-2-beta-run-adb-shell-commands-without-tethered-pc

Aha, now I get it, thanks! Care to post some summary as an answer? That way you can get the reputation for the answer.

did not find clear warning about 'android:allowBackup=false' but there is a warning about PC connection is required. guess easiest way is test. will post as answer after testing https://github.com/koush/support-wiki/wiki/Helium-Wiki

Does this answer your question? How to fully backup non-rooted devices?


text:
Android 10 ADB Cheat Sheet
All of the adb cheat sheets I've found are woefully out of date.
examples of "cheat sheets" with outdated info (for the snarky response about this not being a game or that there aren't any cheat sheets):
https://www.automatetheplanet.com/adb-cheat-sheet/
https://technastic.com/adb-commands-list-adb-cheat-sheet/
https://fazlerabbi37.github.io/blogs/adb_cheat_sheet.html
Does anyone have something as recent as Android 10 or 11 they'd suggest?

This is not a video game. There is no cheat sheet. Anyone can compile a couple of their favorite commands and call it a Cheat sheet. What problem are you really trying to solve?

responses like this are the reason I'm reticent to ask for help.

Hi, while I understand what you want, Firelord's comment also makes sense that: 1) we don't know what you consider as a "cheat sheet", especially if it also includes adb shell which is basically as broad as the Android system itself (moreover if the device is rooted), and 2) answers that only mention external links are susceptible to be dead in the future. Please browse existing [tag:adb] questions to know how it can be used for many things more than these cheat sheets listed.

Hello ClueLeftInside. ADB is the official open-source protocol available to communicate between Android devices and a host like PC. It's well documented in official documentation as well as the source code. There are no hidden features or commands which may require reverse engineering the protocol/program and develop a cheat sheet. Usually adb --help is enough to get started.

You may also check my old thread on this: https://forum.xda-developers.com/t/adb-fastboot-linux-commands-bootloader-kernel-recovery-rom-root-backup.3597181. Community members will be able to help you in better way if you explain what actually you want to do with ADB.

@IrfanLatif do you want to post your comment as an answer? I will reopen the question and slightly modify the question to make it on-topic.

@Firelord I don't think I can add anything new to what's already available in documentation and the existing answers here unless the OP needs help with some specific task.


text:
(Samsung J7 V) SD card app not loading app and causing errors
Two days ago, my phone randomly rebooted, all my apps in my sd card wouldn't load after that. I ended up having to reinstall them from the play store, and I got everything on them back, But one app Wouldn't install. It kept saying app not installed on google play, and if I downloaded an apk, it would ask if I wanted to update the app, and then say App Not Installed. Please help

I would suggest cleaning up using SDMaid, since the app may have remnants that prevent re-installing. This is really a common solution on this StackExchange, and a common question that would have been found through rudimentary search.


text:
Android 11 does not trust a theoretically properly imported private CA for WiFi EAP-TLS
This question is similar, but unrelated to this one answered two days ago.
I have been using WiFi EAP-TLS at home, for nearly a full year, with multiple desktop operating systems and Android 10 with zero problem.  Android 11 is a different story, Google changed EAP requirements so CAs must be validated. I have always imported the CA and selected options to verify CA on all my devices, the trust chain is important to me.  Unfortunately, it's not working on Android 11, the WiFi bugcheck logs say, "Certificate verification failed, error 19 (self signed certificate in certificate chain)," and points to the private CA.  As far as I am aware, root trust Certificate Authorities, whether public or private, are always self-signed.
Herein lies the problem.  CAs must be self-signed, yet Android 11 does not trust self-signed certificates.  I have the CA supposedly imported properly into the "User" CA store, it is displayed there, and the per-device client certificate is imported into the WiFi store.
I've also asked this question in two places on Reddit, where a couple educational network admins also have the same CA problem, but no answers have been discovered yet.  I'm hoping someone on this forum knows what's up.  Any pointers will be much appreciated!
(I would have also added tags "eap-tls" and "certificate-authority" but I don't have enough reputation yet)

This issue has been resolved with assistance from Reddit's /r/networking community.  The thread states the RADIUS server certificate must be issued by a public CA.  Client certificates can (and should) still be issued by private PKI.  The new Domain field in the wifi config dialog must be the CN or subjectAlternateName of the server certificate, per WAP3 specification.  I did not need to install the private CA into Android 11.

Using a public CA is not an option for our organization, unfortunately. We're still blocked on this

For anyone who doesn't want to trust a public CA for their network: we made this work by ensuring the dnsNme was set correctly on our certificates. We had our CN equal to a domain, and our SAN incorrectly had the DNS field of SAN equal to a string like "Our RADIUS Server". Changing this to a proper domain and setting the "domain" field in the settings made this work.
From the Android SDK docs (what a place to find an answer to this), if an SAN is present, it is preferred over a CN.
https://developer.android.com/reference/android/net/wifi/WifiEnterpriseConfig#setDomainSuffixMatch(java.lang.String)