text:
How to enable treble support in old devices?
Today, I am back to challenge you all. As you would have guessed from the question title, this post is to know about enabling treble support on old phones. Of course, there are a lot of guides on the internet about this and I "will" explain how this post is different from them.
First, we have a post about this on this very site.
Link: Enabling Project Treble in non-Treble Android
Here, the question has not been properly answered so this is not helpful.
I found the next link from the above link.
Link: https://www.xda-developers.com/xiaomi-redmi-note-4-project-treble/
This is specific to redmi note 4. So, provides no help to non MIUI users.
Now, we can definitely install a custom rom to enable treble but such roms are not available for all devices.
So, now, let me be specific with my device. I have a device running Android 5.1 with MediaTek MT6735 processor. Now, I have searched a lot in the internet about custom roms and have installed many roms and have "many times hard bricked my phone". With no options left with me and you not annoyed by reading so much, can you please give me a way I can enable treble support using a similar way found in the above XDA post? Or any other way, if you know? And please don't, just don't tell me to either buy a new phone or give up trying to enable treble support on my device.
Thanks for reading.

The question Enabling Project Treble in non-Treble Android may not have an official answer but Irfan's comments contain everything you need to know. Modifying a running system to make it treble compliant is something out of scope for the majority of users. BTW: You don't need a ROM for your CPU but for your device, this means it has to be adapted to every single component in it (CPU, Wifi, Bluetooth, GPS, display, digitizer, camera, USB-chip, battery, buttons, ...)

Thanks for your response Robert. Yes, as you said, I need a rom for the device. And I don't have one yet. Hey, can Irfan's process be applied to any device? Wait... Sorry, I didn't clearly mention my device. You can find my device specifications on https://m.gsmarena.com/micromax_canvas_mega_4g_q417-7901.php. I am waiting for some more responses.

If you are a very experienced ROM developer you may be able to do it on most devices. But for your device I would assume that you simple need an ROM for this specific device. And if you don't find one this is it. Use it or replace it - and my recommendation would be to check if there are custom ROMs (or better LineageOS support) before buying a new device. And don't forget to download interesting ROMs because 5 years after the release most ROMs are already gone. Therefore having some ROMS in stock even without using them is a good idea together with an archived  how-to install page.

@VD-Flash the last part of my comment: "Theoretically Treble can be enabled on every device provided that sources are available for the device. And it's a matter of how much effort one has to put into it." As Robert said if you are not an experienced ROM developer, you can't do anything about it. Your primary concern is developing a ROM, adding Treble support is secondary (and unnecessary too), though both are off-topic here.

Well, I surely am a programmer and developer but a computer programmer and have very little experience with android. So... yeah, I cannot develop a rom myself. And one more thing. I know that phones are completely different from computers but in case I find a rom for a device having completely identical hardware configuration as mine, will it be ok for me?

If by "completely identical hardware configuration" you mean exactly the same hardware starting from BootROM, SoC (including its components), motherboard and so on... then yes that'll be OK. But that doesn't happen very often except if you find some exactly identical devices manufactured by the same ODM but branded by different white-labelers (even they are very likely to differ in some configuration). So you need to port the ROM from one device to the other. And that's what ROM developers mostly do. Building from scratch is done only by OEMs. Again plz note that development is off-topic here.

Looks good. Hey, BTW, do you know any trusted porter for this job?

No, sorry. XDA forums is a good place to find one. // Btw other users don't get notified of your comments unless you tag them.

@ As your opinion, I posted a thread on XDA. Let's see what happens. And thanks for all your help.


text:
Dialing keypad sounds like a rubber ducky with each number pressed....yeah
Samsung Galaxy S21 Ultra. Instead of the normal DTMF tones, his phone is squeaking like a rubber duck with each number pressed on the dial key pad. No idea how it got this way or how to fix it. He doesn't want to completely get rid of the tone, just wants the normal one back!!

I resolved it
Settings> Sounds and Vibration> System Sound > Choose "Galaxy"
Mine was set to "Fun"
Thanks.

source: Stack Exchange

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

sort: votes


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

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

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

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

oh, didn't know that

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


text:
Unable to add account on android 6.0.1
I have an old android tablet - Asus/Google Nexus 7 (2013) - which I would like to use with Touch Portal. The tablet was factory reset several years ago and has, I believe, the latest release of Android (6.0.1) that was officially released for it.
I've tried a couple of times to get signed in to my Google account on the device. It prompts me for my username and password and then appears to hang - currently over 24 hours as I write this.
I have a feeling that this is caused by 2 factor authentication which I have enabled on my account - the default of which is a security key, specifically a Yubico Yubikey 5 NFC.
I once saw a message about using a security key so I have attempted to use it via USB and NFC. When I tried this last time via NFC, I saw a new login in my Google Account at the same time but the screen still hangs.
I'm not prepared yet to disable 2 factor authentication (albeit temporarily) quite yet but may consider it if there really are no other options.

UPDATE Here's the confirmation that my Yubikey was used during the attempt to login despite nothing showing on screen prompting such action and nothing happening afterwards.

What does your "recent Google activities" at https://myaccount.google.com show?

@Robert It's not showing anything related to the login and I'm unable to find it again now!

I would assume that your main problem is that the installed Google services have not yet updated itself. Make sure the tablet is always on and connected to a Wifi with full Internet access and wait a few hours (up to a day). Usually google services should install latest update.

And... I can't update them via Play Store unless I add an account!

As far as I know the play services update themselves independently of a logged in Google user. The only problem is that you can't trigger the update manually instead you have to wait that it happens automatically.

Okay, I'll leave it a bit then and see if it updates. It's currently on Version 8.1.22 (2959233-436). My Pixle 5 is on Version 21.02.14 (150400-352619232)

Thanks to @Robert who pointed me in the right direction.
Unfortunately Google Play services didn't update itself automatically even though it had been on for a couple of days. So... I resorted to downloading a recent version from apkmirror, found the right version for the 2013 Asus Nexus 7 (armeabi-v7a, Android 6.0+, nodpi).
It took a minute or so to install but it was successful, after which I attempted to login again. This time, after entering my password, I was prompted to choose how I wanted to use my security key to login. Chose NFC, and I'm in.


text:
What is the screen customization alternative for LineageOS?
If you ever used Resurrection Remix ROM you see in the Settings app there's a Customization part where you can make some tweaks like add some buttons on navbar or maybe add a extra home/return button in another part of the screen, etc, etc... My question is, what is the alternative available for LineageOS 16? I'm asking because it doesn't have any customization app by default  and I need one because the Home button of my cellphone is broken (hardware stuff, not software) and when I used RR I just added a new home button on the bottom of the screen. How can I do the same for LineageOS? Thanks in advance.

I assume Firelord wanted to type "EdXposed". EdXposed is more or less the successor of xposed. You can find it in the Magisk module repository.

See also the [tag:EdXposed] on this site which has questions on how to install on recent Android versions


text:
When WiFi is connected, does Android use any mobile data?
If Android says it's connected to a WiFi network, does that mean it's not using any mobile data? Could it ever happen that somehow an apps insists on using mobile data despite having a WiFi connection? In other words, is the only way to guarantee not to be using mobile data is to disable it?
For context, I noticed Google Photos doesn't sync even though it is set to. If I disable "only sync over WiFi" then it works, even if I am connected to WiFi and have mobile data off. Is it necessary to turn off mobile data to make sure it's not used?

Could it ever happen that somehow an apps insists on using mobile data despite having a WiFi connection?

Yes, an app can do this.  There is an API that allows an app to bind itself to a particular network, and it could deliberately select a cellular network.  This might make sense for, for instance, an app for managing your cell carrier account (though a lot of those are explicitly exempted from counting toward data plans).
Most apps, however, will not do this: it would generally be quite user-hostile to use up a user's data plan when they're connected to an unmetered Wi-Fi network.


text:
BLE BR/EDR Security mode
I have recently started working on an Android-based device, which has a Murata 1MW chip. This Murata chip supports Bluetooth 5.0 + Wifi.
At present, I can open the Settings App from the Launcher and connect to any Bluetooth device.
Our requirement is -

The device should only support Security Mode 1 Level 4 for BLE and Security Mode 4 level 4 for BR/EDR(Classic).
It should only support the SPP profile.

What I understand through the readings is for Security Mode 1 Level 4 - Just works shouldn't work, but it is working on this device. It can connect directly to my headset.
I am a bit struggling to implement the above requirements -
Is there any way, through Android permissions or any changes in Android BLE/BT stack I can insert, to enforce the above requirements?
Or
Do I have to create a separate custom application to implement the above requirements?
Any help is really appreciated.
Thanks,
Asma


text:
Why does the download size of applications increase when downloading from the Play Store?
I recently downloaded an app from the Google Play Store and found that it is larger than when downloaded from the site.

Why does the volume of applications increase when downloading from the Play Store?
I'm also aware that the common method to infect end-users is software bundlers. installs are typically triggered by bundlers that offer software you might be interested in and
combine them with adware or other monetizing methods .

Possibly because of App Bundles. The listing on the web doesn't know which bundles need to be downloaded for your specific device.

Google does not bundle anything into downloaded apps that does not belong to the app. If an app contains adware or malware then it was uploaded in this state to Google.

Is it the same version of the app? It'd be better if you share links.


text:
How to distribute private android application to specific devices?
How can I deploy an APK for android that is only available for the devices I specify beforehand?
I would like to a host a private application that is only available to workers inside the company and only for the devices that are owned by the company.
I know I can do this with Google Play, but that requires a G-Suite/Workspace subscription we do not have.
I would like to continuously deploy new versions and the devices to update automatically.
Are there any custom marketplaces that allow this? Anything else?

As you have already noticed company-stores are usually provided by a MDM solution. F-Droid allows to host own repos. However as far as I know there is no account/authentication concept, therefore your devices require a private network e.g. via VPN or a company Wifi so that only company devices can install/update the provided app(s).

@Robert Right now, I am looking into Samsung Knox


text:
Do I need any sorta CLI parameter, in order to TWRP backup all users?
I don't even know if that's a thing, but I decided to ask anyway.
I'm making backups using this line:
adb backup -f full.twrp.ab --twrp compress system data

Although, I'm not sure if this is making a backup of all android users or just the phone owner.

You can get all command-line options by executing the backup binary bu on the device: adb shell bu --help

One way (which I would have gone with if I had his problem)  to find out is to actually make backup and then extract or peek into it if other users are indeed backed up or not. Make sure to decrypt all users before taking backup.

@Firelord nice tip! would you mind telling me what is the best way to decrypt my backup on a linux machine? softwares and stuff...

backup is not encrypted, only compressed. i recommend not to backup multiple partitions in one single file, only create one file per partition https://twrp.me/faq/openrecoveryscript.html

Does this answer your question? How to decrypt Island / Work profile and Parallel Apps user in TWRP?

for unpacking try this script from post #7


text:
Signal does not allow sharing to other apps
In my installation of the Signal messenger, I can share images and videos to other apps, like email apps and the like. However my wife cannot, the option in the "three dot menu" just does not exist, only forwarding inside Signal. All our permissions are set the same and we have the same version installed.
What can be the problem? How can she be able to forward images to other apps?

We once had someone here with a similar problem. He had an app installed that caused the share-menu to crash. May be it is similar in your case. I would start searching the problem not in signal but in the list of apps that are e.g. used for sharing images. Check in the Android settings the default app for images. There you should be able to see the list of apps installed that should be shown in the sharing list. You could also check adb logcat while opening the sharing menu (ad requires USB connection to PC, installed Android SDK and enabled developer options + adb on device).

It does work the other way around

So for example sharing from WhatsApp to Signal

could you please add the Signal version of your wife's and your device? And a screenshot what you can see?

Signal v 6.21.3:
I thought I had the same problem but I realized when I open the photo then short tap again I see the share symbol in my bottom left corner:

Maybe your wife can update to v 6.21.3 as well.


text:
Does factory reset on one device affect the same accounts on another device?
I have an LG Rebel 4 and it's been having problems so I feel I should factory reset it, but I'm concerned that it may affect the accounts on my phone, also, which are the exact same as the tablet. I really don't want to lose them.
Does factory reset on one device affect the same accounts on another device?

A factory reset just deletes all your user data locally on your phone.
Data stored in the cloud and synchronized to other devices linked via an account and are not affected.
Even if you don't trust these information you can make sure no remote account is affected:
Before performing the factory reset from within Android settings activate the Air-plane mode. Now there is no chance that any account can communicate with a cloud server to tell the server that you are resetting your device.
And after the factory reset all user data has been deleted therefore all information about accounts and other saved data is gone, hence after the factory reset when you re-establish connection to the Internet there is no information available what accounts were present before you performed the factory reset. SO the device can tell nobody that you performed a factory reset.
From the perspective of the cloud services/accounts your device simply went offline and did not came back online.


text:
Changing Android Studio Emulator from localhost:port to 192.168.x.x
I am trying to figure out how to change Android Studio's Emulator so that it can be reached from a different IP from the host machine. Currently I can access it at localhost:5554. I am trying to start a listener on port 64006 of the emulator but anything I send to that port from my host machine doesn't reach the Android because it is running on port 5554 and listening on port 64006 within that.

I am not sure if emulator allows to open the adb port on a public interface. Instead you could simply use socat to forward a TCP port from your ethernet interface to the emulator localhost port.

If you found a good solution you can answer your own question (not only comment on it). Based on your description this sound interesting also for other people.

SOLUTION
I was able to fix this issue by doing the following:

Telnet onto the emulator (telnet localhost portNum)
Auth using the auth command and token in your user folder (.emulator_console_auth_token)
Use the redir command once authenticated "redir add tcp:123:456" (This command says to send anything destined for host port 123 to port 456 on the android emulator)


text:
Help with ultra power saving mode bug
I have a Samsung Galaxy S5 with a major problem. One night while turning the phone to Ultra Power Saving Mode the phone immediately shut down. I left the phone o charge and the next morning I woke up the whole entire phone system was gray, it had no color, I thought this was just a glitch so I left the phone to at least make it settle but afterward that it was still gray and had no color, I had access to all my apps but it was just that everything was gray. I have restarted the phone and removed the SD card multiple times but nothing seems to work. I have even gone into settings and tried turning on Emergency mode but nothing happens. Kindly please help me with my problem and sorry about my grammar as English isn't my first language. Have a nice day


text:
Automatic Do Not Disturb for Calendar events on Samsung
Does anyone know of any free apps that can control the Do Not Disturb based on Calendar events? I know this is built into Android OS10, but Samsung has removed that from their phones. I know of one app that should work but it does a lot of things I do not need and costs money for what was originally built in but removed by a second party.

You can try IFTTT, Automate, Macrodroid app and automate that. look given examples and try to create automation script for those calendar events.

This one works great on modern Android devices:
Check out "Silent During Meetings"
https://play.google.com/store/apps/details?id=info.ysharon.quietinmeeting
I made one with some nice settings in Tasker back in 2013, but that one doesn't work anymore on modern Android systems. I imagine Tasker would still work fine nowadays.

Frustrating that Samsung removed that from their phones. I used the built in Android version for ages.


text:
How to reenable the old android google translate feature to translate everything on screen?
Few years ago on my android was possible keeping pressed the home button, to activate a feature that would allow to translate everything on screen. Unfortunately in a subsequent update google decided to replace that awesome functionality with the useless google assistant. Do you know how I can do to get that back? I know it is possible to update screenshots but that it is a way more cumbersome process.

Note: this feature was available 5 years ago in Now on Tap (when Google Assistant was still Google Now).


text:
Remove or hide a ui element from android rendered xml layout
Context
I have automated a production app (dont have control over it's source code) using appium but in an attempt to speed up this automation I would like to remove a dynamic animated element (with class android.view.Viewgroup) from UI which is slowing down the UI query response time. Preferably, a shell command using adb by specifying a UISelector query would be amazing!
Full disclosure: I dont fully understand the android UI model as well as I do say browser's DOM. And the ability to hide/remove an element on DOM in browsers is easy. However, android doesnt seem to support any straight forward API to remove a rendered UI element. I suspect this is because UI model is more closely linked to OS internals in android and any attempt to alter expected rendering behavior would trigger fatal errors.
In simple terms, I would like to replicate the browser's document.getElementById("ded").remove() behaviour for android's native view model.
Potential Solution
While not officially supported, I'm confident this can be achieved with View#setVisibility api using a rooted device and some form of code injection during runtime using frameworks like Xposed. I'm happy to check in at xda forum if discussing about it is not supported here.
I would greatly appreciate any insight into libraries/modules/apps that may already provide this functionality.
Thank you in advance!


text:
Turn phone on with damaged power & volume button?
if Power and volume button is busted, is it possible to turn phone on by using adb or fastboot or any other method?
Or may be, How a powered off phone communicate with the power button and other things(i.e charging animation,volume button etc)? perhaps is it possible to tweak this communication to gain access externally?
Curious, solving this issue by software means, possible?

I don't think that is possible.

Does this answer your question? Turning on with ADB and SDK tools?

@alecxs Thanks, the link was helpful. however it does not answer my question.

"depends on how deep you read" True! if im not wrong, first you described- how to root. Then the provided link was about- turn phone on(a switched off one) automatically once connected to a charger. But for these processes i.e flashing magisk_boot.tar & etc  dont i need a turned on phone? the device is samsung. And sorry for late reply

by externally i mainly meant 3rd partly(application tools).
external access -access a device by a 3rd partly application like adb/fastboot.if possible, on a nonroot device.
software(on device itself/on host via usb?)- on a host . as i cant turn on the device. also to avoid answers/comments suggesting, replace power and volume button.
("turn phone on/external access/communicate with the power button")?- all 3 of them. But mainly+satisfiied "turn phone on". As mentioned CURIOUS!. i am curious(thats why the other 2). And lastly  thanks a lot for the replays and your precious time.

no prob. And Thanks again for your time.

You did not mention your phone model, so we can only give broad answer:
On my samsung tablet there is easy way without power button. only press Volume Down + Home Button + connect charger will bring up odin mode splash screen (with additional options). with Volume Down select reboot

For more details on how things work please read the linked questions:

How a powered off phone communicate with the power button

What is the fastest way to shutdown unrooted Android phone?

perhaps it is possible to tweak this communication to gain access externally

very hard challenge and not possible by software only, this kind of communication is proprietary low level protocol. furthermore that requires physical access to pcb board

is it possible to turn phone on by using adb or fastboot

No. external access via usb by

adb requires running adb daemon on device. that is only the case in recovery or boot mode

fastboot requires device running on fastboot mode, which is generally not supported on samsung devices

other application on host requires device running in other mode. Such applications are flash tools like Odin/heimdall or EDL programmer tools (qualcomm only)

The auto-reboot after flash trick without power button is similar on most flash tools. It works best on Mediatek devices because preloader mode is activated only by plug in usb cable without pressing any button.
Samsung download mode can be achieved with JIG dongle.
Flashing official stock ROM will reboot phone when done with flashing


text:
Chrome update on android makes the application freeze. I need help transporting its hundreds of tabs
Chrome updates are the worst. I've lost my tabs before when it updated, and the whole thing deleted my tabs after several times of lagging a minute after opening the app.
I fixed it by reverting to the old version, disabling updates, and being happy with the base app, along with disabling the google play services since I don't grab any other apps. But recently I had to acquire an app for something at work, and I forgot to disable google play services in time.
Now the update is causing it to lag again. I open it, I can't go to multiple tab views because it's loading, and when it finally loads, the whole thing freezes and crashes.
I have a few options I think, none of them quite certain, but beggars can't be choosers, if I want to preserve the many many tabs I have.
1: disable flags. Figure out what flags were added by the update to chrome, and disable them. Maybe this will make it bloated and less likely to crash and freeze, because the old chrome was sure just fine with the amount of tabs I had.
2: find a way to transfer/save all of my tabs before resetting the app (because the bookmarks and active tabs will all disappear when I revert updates and reinstall the old chrome.
So far, I've found this: https://dev.to/piczmar_0/when-you-never-close-tabs-on-your-mobile-chrome-browser-2boj
But I am having a LOT of trouble figuring out how to follow the instructions. I have no experience coding, and I don't know what they mean by "adb" or "bash". I've managed to set the phone to develop mode and download the android studio application, but that's the extent of things. I am just utterly confused.
Can anyone help guide me how to do it?
EDIT: I am using a windows 10 laptop.

Highly related/possible dupe: How can I export the list of open Chrome tabs?

Go to chrome://history/syncedTabs on another computer. All of your tabs should show.

Note: this would only work if only the Chrome was allowed to use sync feature prior to occurrence of the problem.


text:
AOSP x86 adb secure
I'm trying to build a custom ROM with secure access via adb. My goal is to secure the android image so that it can only be accessed with a certain adb RSA key pair.
When I build AOSP with 'user' variant, adb doesn't work, cannot connect to it in x86, always get 'connection refused by host', but when I build it with another variant (userdebug or eng), adb connect with no restrictions.
How can I secure adb in order to allow connections only from clients that uses certain RSA pairs?

Have you checked that adb is running at all (is enabled)  in the non-debug builds?

I enable it manually from developer options (usb debug), but in x86 virtual machine there is no easy way to connect via USB and enable adb via tcpip. I am trying to create a custom ROM that get ADB enabled via tcpip by default and secure with specific RSA keys.

You can find information about this on the AOSP pages about adding support for a new device. Briefly, it goes like this:

Create a key pair with adb keypair.
Put the keypair into your source tree.
Set the build variable PRODUCT_ADB_KEYS to point to the directory containing the key pair.
Do your build.
To connect to this build, once it is running on device or emulator, set the environment variable ADB_VENDOR_KEYS to point to the directory with the key pair.


text:
Restore android google drive backup after factory reset
I have google drive backup. I am using android 10 on nokia mobile. I did factory reset / erase all data. during set up I skip restore backup.
I check on google drive. I have backup on 23 February. But How do I restore that backup.
I do not find restore backup option on device. I check in setting.

As far as I know restoring is only provided as part of the setup-wizard after factory reset. See https://support.google.com/android/answer/2819582?hl=en

On pixel and LG mobile, Under setting devices we can get restore option. But on Nokia and android 10 I am not able to find this option.


text:
TWRP Backup of encrypted files or decrypted ones?
I'm using File Based Encryption on data partition and I want to backup it with TWRP. In this kind of encryption, there are two possibilities to backup files. First, one does not decrypt files in TWRP and take backup files as they are, backup of encrypted files. The second solution is to backup decrypted files, so I need to decrypt files with PIN code in TWRP and then take backup.
Which solution is better and has fewer cons while restoring a backup?

Always better to go for backup without encryption, in my experience. Reasons 1. TWRP version may not be updated with latest OS version as I saw on One Plus 7 2. Changing ROMs 3. If you need to factory reset or wipe your device, encrypted backup not possible to be restored (even if you use same PIN) 4. cases like this

encrypted backup is useless when keystore in TEE is wiped

@beeshyams thx for reply. When changing ROM it's better to start with new /data filesystem, it's obvious. To deal with cannot unlock device after restoring TWRP backup is easy, just delete unlock screen config file/sqlite db.

@alecxs Does TEE still flush keys if /data partition is wiped from TWRP instead of factory reset?

@defalt from what we both discovered recently that's the point i still don't know. guess not because that requires deleteKey command send to TEE


text:
Disable "Call via hangouts" in Contacts.google.com in browser - use tel: instead
I use "click to call" from my phone often on phone numbers in my laptop browser (Chrome) and recently tried it from Gmail and Contacts tabs of Google apps. I even created a page to paste numbers in to use this function: https://craiglambie.com/ClickToCallForm.html
However this sends a link to call using Hangouts - when I want to use the mobile/cell phone to call usually.
Is there a way to disable the hangouts link, and make it a "normal" tel: link that the phone accepts?

Hi, I assume you want to fix the link from the laptop (Google Contacts web app), not on the phone? If so, [webapps.se] should be more suitable since it's more about manipulating the web page (e.g. using userscript), not Android. Let me know if you want this to be migrated to there.

Thanks Andrew - you are probably right. tbh I didn't notice I was in a "specialist" android community until after I posted, just thought it was vanilla SE.

Could you please move this to "web applications"? @AndrewT. Thanks

Done, I'll clean up my comments on there, you might want to too.

"click to call" is not a generally available built-in Google Contacts feature. Are you using a Chrome extension? Do you have a Google Voice phone number? How doe the link to call using Hangouts link look? Have you already tried to change the app used by Android to open links?


text:
Phone app keeps crashing
Launch the Phone app, then 3 dots > Settings and every time the app crashes with the message "Phone has stopped". I was trying to block a number. How do I go about diagnosing why this is happening?
If relevant, running Android 7.1.1 on a Motorola G4 Play.

For uncovering the reason you may need to connect your phone to a PC via USB, enable Developer options on device, install Android SDK/sdb on the PC and execute adb logcat to see the Android real-time log. If then the error occurs you should see more details in logcat.

OK, thanks...something to try over the weekend! Full testing is never feasible, I realise, but I do wish developers of (especially core system) apps would test things in a variety of scenarios and hardware platforms before pushing out bugware which may or may not be fixed with the next update.


text:
Insufficient storage popping up when transferring app to SD card
so I got this 36 GB SD card, and I've only used 2 GB on it, I'm on a Samsung J7 Neo BTW, and when I attempt to transfer a 5 GB game to the SD card, it stops halfway trough and a message saying "insufficient storage space" pops up, any idea how to fix it?

So the file is already downloaded local to the phone, you just want to push it over to the external card? Or are you trying to do a direct save in one operation? You may have to read some posts here about how storage is used to understand the mechanisms involved.

I use the transfer app storage to SD card function from the Settings menu, and my SD card has like 30 free GB of memory

I downloaded the game from Play Store to my phones internal storage, then did the ingame download of 5 GB, and then I tried to transfer it

It's very possible you bought a fake SD card.
The markets are filled with unscrupulous people and businesses selling fake cards (bad eBay sellers are notorious for this).  They take 2GB-4GB cards, and make them look like much larger cards using illegal tricks.
See this link for even more details:
https://www.rmprepusb.com/tutorials/-fake-usb-flash-memory-drives
Update: In the comments, the OP indicated that they have good reason to believe their SD card is good (it previously held 25GB of data).  As such, I think it's likely their card is legit, but I'll leave this answer up, as it might help others in the future.

Nope, this ones legit, since my dad stored 25 GB of pictures in it once

That's great to hear!  I'm so glad you didn't get suckered.

I would recommend running a SD card testing tool to make sure it's still good.  I have had quite a number of SanDisk cards (which is generally considered a good brand) that were once good go bad after a while.

Can you recommend me a testing tool for Sd cards? Sorry for the bother, but I dont know much about advanced stuff on Android devices

Sure. Do you have any other devices available? (Linux / macOS / Windows)?

BTW, you may also be interested in Software Recommendations SE at https://softwarerecs.stackexchange.com - I'm a moderator over there, and I would be happy to do my best to ensure you get the help you want regarding getting specific software recommendations.

I have 3 Windows laptops, and to be more sñescific, the message that pops up when it fails to transfer rhe app says " Not enough storage space"

It gets to 70% of the transfer proccess and then it stops and that text pops up

I just added a link to the answer above that will likely be of assistance if you think it could possibly be a hardware issue.  It has a tool available for download that I have personally used and I have recommended to others.

As the SD-card is smaller than 64GB it is with a high probability formatted using the FAT32 file-system.
As your game is very large I assume it contains at least one file that is larger than 4GB.
If you now try to move the game to the FAT32 formatted SD-card you are running into the FAT32 limitation that each file can have a maximum file size of 4GB.
While moving the files the Android receives the error "can write no more bytes to the file" when the 4GB limit is reached. Android internally "translates" this error into
"insufficient storage space" because usually this is the reason why you can no longer write data.
Therefore the only way would be to format the SD-card to e.g. exFAT file format. With exFAT you could write files larger than 4GB to the SD-card - assuming your device contains exFAT support.
Another possibility could be that the code moving the files has a 2GB limit. The standard Java code often saves numbers as int which is a 32 bit data type using 1 bit for positive/negative and 31 bits for the actual number. Therefore this number is limited to numbers between -2,147,483,648 to 2,147,483,647. Considering that such a variable is used for counting the copied bytes then there would be a limit of 2GB.

And how do i change the formatting to exFAT?

Nvm; I already formatted it to exFAT; im gonna try now and see if it works properly now...

I have already formatted it to exFAT; and the game still pops up the same "not enough storage space" text, any other solution?

@alecxs Thanks for pointing out, now it is correct. I had the 2GB limit of Java int in mind...


text:
Samsung a71 virus detected
so uh, i just went onto a website, and I apparently have 4 viruses on my phone, it said "Your sim card has been damaged by a virus!" I dont know if this is fr and I'm only 14, but i know when not to click on something stupid. But I have to ask, is this real? I know how to deal with it if it IS true, but it is weird. It says my sim card is already 48% damaged.

i just went onto a website → 100% scam. Close immediately and you'll have nothing wrong.

Welcome to the Internet. You will find web-sites telling you that you are the most intelligent person of the world and then they want to sell you something or they try to steal something from you. Therefore if a web-site claims something be distrustful and first start thinking if this can be really true - e.g. a if a web-site can really scan your device...

The comments on your question already cleared things for you. It is a scam. If a website or an app suddenly or  ever claims that something is wrong with your device, its accessories, its OS, a web account, your bank account, you can be damn well sure that the other  party is trying to scam you.
10/10 times these scams appear as ads, so using an adblocker for both your web browser and and your device is suggested. I use Ublock Origin addon (on Firefox for Android) which greatly helps in reducing ads nonsense when browsing. To stop nonsense ads on Android apps I use AdAway (you can also use Blockada) adblocker app. Some folks give moral reasons not to use adblockers but I keep security, privacy and web sanity over morality. You are on your own with morality here.
In a browser, 9/10 times these ads are able to load through javascripts, often third-party scripts. Using a solution which blocks at least third-party javascripts is recommended to everyone for browsing the web with sanity. I use NoScript addon (on Firefox for Android).
You also need to know about WAP billing frauds (you click something on some [often] not-so-popular webpage, and guess what XY amount of money is automatically deducted by your carrier. You apparently gets subscribed to some XYZ value-added service!). WAP billing frauds are facilitated by third-party javascripts.
The list can go on but it is best that at this age you spend a couple of hours to learn about privacy and security on the web, Android or whatever OS your mobile and PC are using, on at least a monthly basis. What you would learn would be far better than a quick fix I have suggested.

You can check any unknown apps is installed remove it.
Clear cache of web browser.
You can scan your mobile using antivirus. You can use avg, Avast or panda antivirus. You can use free trail of anti virus.
You can erase your mobile.


text:
dumptrace file - /data/anr/
On Android Pie, everytime we take a bugreport, it generates a temporary file in data/anr. This temporary file is not cleared and stays on the device. Its size is around 2MB. This means everytime I take a bugreport on my device, the data/anr folder will have dumpstate_XXXX file that is taking up some space. How does Android clean this file and how often does it clean this file if at all? Else won't it cause my device to run out of memory eventually?

If an ANR occurs system cleans all files in /data/anr/ older than a day: https://android.googlesource.com/platform/frameworks/base/+/refs/tags/android-9.0.0_r1/services/core/java/com/android/server/am/ActivityManagerService.java#6230

@IrfanLatif Thanks for the pointer. I however have a device that has these data/anr/dumptrace_XXXX file staying there for more than a day. They don't seem to get cleaned up. Infact this file I have on my device is more than 15 days old.


text:
Is it possible to keep phone plugged in a powerbank when the battery is worn out?
Is it possible to glue a powerbank to the back of a phone, and keep it plugged in permanently, if the battery has been worn out?

Related: Removeable battery-like “thing” that provide unlimited power for android phones and ultimately Using Android phone without battery

My experience is that the answer is yes.
For some devices, I have completely removed the battery and have them running just from the charger.
Of course, if there is a power outage, the device will immediately turn off without saving anything.  So be aware of that possibility.


text:
Non-root user in rooted Android phone?
In my Arch Linux setup(and most others), the default user is non-root. Any admin work needs access to root account which is given temporarily with a password(generally using programs like sudo and doas).
I have recently rooted an Android phone(Redmi 4X "santoni") and installed LineageOS (android 9 version). I have TWRP, Magisk installed.
I want to setup an account which is non-admin, ie: no app can ever request superuser access and the Magisk Manager App,TWRP app will not even be visible to the user. How do I go about it?
In LineageOS' system settings there is an option called multiple users. However when I have used the "guest account" there, it still seems to have root access, ie:apps can request superuser access and Magisk is accessible too.
I looked around online but didn't find anything substantial which catered to my specific question.

Would it not be sufficient if the root-management app would require a user entered password to grant an app superuser access? That would be equivalent to a user account on the sudoers group but without the knowledge of the password. There are root management apps that have such a password protection: https://forum.xda-developers.com/t/require-password-on-superuser-request.3711966/ IMHO the main problem is that Android was designed to be a completely "root-less" system from app perspective. The current way using su is a hack that was never planned for Android.

The concepts of users and how su, sudo work on normal Linuxes and Android is entirely different. I recommend you read my answers to these questions for a general understanding: How Magisk works? and Why are superuser permissions needed to acess /data partition? and How to quickly understand the Android UI.

you can set up magisk superuser to silently deny every request


text:
Terminal App not found
I am new to Lineage but not new to Linux. I am running on a raspberry pi. How do I find the AppDrawer? How do I find the terminal App. Many thanks

Based on my personal experience for LineageOS on Nexus 5, LineageOS has an in-built Terminal app, but it should be enabled first from Developer options under the name "Local terminal".

Please keep in mind that Android may be Linux based it is not a Linux system you have worked before. The whole user-system and also the UI-system is totally different from any Linux distribution I know. Therefore I recommend to you to not see Android as a Linux system but as a new system unknown to you that re-uses some basic parts of Linux.

https://android.stackexchange.com/a/16244 https://android.stackexchange.com/a/218507

Not sure how LineageOS works on raspberry pi.
But on android smartphones there is no real terminal. the closest to terminal is terminal emulator which can be installed as usual apk (example)
The AppDrawer is probably the Android Launcher which can be installed as apk too (example)
There is also a built-in app list in Settings - Apps from where you can uninstall or clear data (and even start apps on older android versions), which is therefore some kind of AppDrawer too.
On Smartphones another terminal access is the Android Debug Bridge (adb) which is even accessible when system_server is crashed or restarted (assuming the initial setup is done from developer options). Most likely on raspberry pi this is already enabled (and indeed without physical display/keyboard the only way to access your device)


text:
OpenGapps problem in Redmi 4X with LineageOS
I am running LineageOS 16 on a Redmi 4X device.
I tried installing the relevant opengapps pico version selecting ARM64 and Android 9.
I booted to TWRP, selected install and clicked on the opengapps zip file. It installed successfully with absolutely NO error code whatsoever. I then cleared Dalvik/cache(TWRP menu after installing opengapps) and rebooted to system.
I ran through setup and it all finished smoothly. I can install apps from the play store and all services too are working.

However this keeps happening and android says that setup keeps crashing.
I then redownloaded the opengapps zip again,rebooted to TWRP and installed it again. There was no error message. This time I booted to system without clearing Dalvik/Cache.
I ran through setup again. Everything happened properly, all my google stuff is working but again this setup screen keeps reappearing and Android keeps saying that setup keeps crashing.

It crashes right after this screen when I click not now.

Even now this notification is always present in the notification bar.

Surprisingly all my google apps are still working perfectly including play store,gmail,classroom. I can also call, get messages and do everything else a phone is supposed to do.
This thread talks about bootloop which is definitely NOT my issue. I didn't find any other thread related to santoni+lineageos16.
This is how I went about rooting my device.
I don't know how to obtain android system logs/logs relevant to opengapps so I am unable to post any of them. I will really appreciate any help I get since this is becoming quite annoying.

in addition to Morpheus you could also try older open_gapps releases. make sure to format system + data + cache before flashing lineageos + gapps + addonsu

refer to 4. + 5. on LineageOS Installation instructions

make sure you flashed right version
try flashing another package but same version
Possible bug on Rom try Contact on XDA Devlopers

Ok I have solved my own question(again)!!
Turns out Redmi Phones have some problems with encryption which I figured out after reading this section.
When I had initially installed my system, I didn't Format the storage, I only wiped the data on it. I feel this was the cause of the problem.
What I have done since is, booted into TWRP, formatted storage after wiping data then I tried installing LineageOS.
Unfortunately that didn't work because LineageOS needs Magisk binaries to function(I expect because of their inbuilt control superuser access feature).
So I wiped all data again,installed Magisk, then I installed the exact same pico opengapps version and this time it worked flawlessly.
When I had installed ArrowOS on my Lenovo Vibe K5 Plus, I hadn't formatted it either and I had installed ArrowOS before Magisk. However it worked because that phone didn't have any funky encryption going on and ArrowOS doesn't have any built-in "superuser access control".
Hence for anyone new to rooting I would advise to format the storage first to avoid any problems down the road.


text:
How can i get past the samsung account "abnormal reset" on a samsung galaxy s6?
I done a factory reset on my samsung galaxy s6...well now I'm stuck on a page that wants the samsung account the phone was set up in due to an "abnormal reset" but I dont know that information...is there another way to get by it?

You made the mistake not to start the factory reset from the Android settings dialog. And now your device has triggered the "factory-reset-protection". When did you buy the device and from whom? If you bought it in an (online) shop the shop is responsible in such situations.

looks like similar to google FRP but from samsung. you need to enter previous bonded samsung find my mobile login


text:
Larger Lock-Screen PIN buttons?
Problem:
I just upgraded my phone software, and the lock screen PIN buttons have changed appearance!  They are now shifted up, smaller (circular with spaces in between them, instead of square and using the whole screen area), and less responsive.  This seems like a terrible idea from a UX standpoint- completely messing up my muscle-memory; now every time I try to log in to my phone, I screw up the pin at least twice.  Very annoying.
Examples:
Before the lock-screen PIN had something like this, with square buttons, except they were larger & took up the whole the middle of the lock screen:

Now, this is the awful new lock-screen PIN layout:

Phone Specs:

Galaxy S10e (SM-G970U)
Android Version 11
ONE UI version 3.0
New Software Version: G970USQU4FTLN / G970UOYN4FTLN / G970USQU4FTN

What I've tried:
When I try to look up this issue, most of the responses will be about changing my PIN lock-method to a password / pattern, etc. lock method, or changing the PIN itself.  Those Q&A's I've found addressing the appearance / behavior of the lock screen tend to say it's inbuilt to the system & nothing you can do except for really cracking your phone software.  I also don't see anything in Accessibility options, but maybe I'm missing something.  Any ideas, or is this really something I'm going to have to put up with (until I get mad enough & just throw it in the trash)?

Edit:
Some additional info, it looks like the lock-screen is its own app now?  It's Samsung Always On Display, and the recent (annoying) update was to 6.2.11.3, which people are already complaining about in the reviews.  I tried to uninstall back to factory version, but strangely that did not help.

There are Apps in the Play Store that provide an alternative lockscreen. Have a look at this page to see some. But from a perspective of security, I would personally avoid using an alternative lockscreen app, as you give your whole security and privacy into the hands of one app. But that's a decision you should make on your own. Android itself does provide the functionality to let other apps handle such important things using Device Administrator rights.
Other workarounds would include using an alternative locking method like Smart Lock or installing another ROM, for example LineageOS.
I personally would try getting used to it.

I think you're right that using a 3rd party lock screen app would be unsafe.  I tried uninstalling back to factory version of Always On Display and that didn't seem to help, and Google Play store doesn't host older versions of apps.
The best work around I tried was to switch lock method to password.  Typing an additional letter on QWERTY and then switching the keyboard to the pin-pad type (first example in OP) is ironically waaay faster & more reliable than using their terrible new lock screen PIN pad.


text:
Making a call Google Assistant by saying "Call Mom & Dad" shows "App is not installed."
I have an Android Head unit in my car running Android 8.1  It has Google Assistant and almost all of the voice commands I've tried work normally except for making calls with the command "call Mom & Dad".  My phone is connected to the Head Unit through Bluetooth.  It is running an AOSP version of Android 10.  I can manually make and receive calls successfully on the head unit through the phone Bluetooth app that comes with the head unit.
Assistant recognizes the command and then displays "App is not installed." in a toast message.  After that, it shows the command that was just spoken.  There is a button next to the command that says "Call".  When I press this button, it successfully brings up the Bluetooth app and makes the call.
I've tried the following with no change:

installed Google Contacts
installed an XDA version of the Google phone app as the Google Phone app does not show up in the Play store on my head unit
I've made sure all permissions have been turned on for the Google app
I installed an app called GVC CallHandler for Joying

When I try to do the voice call on my phone, it works.  Initially, I made the call through the standard Google phone app.  I then installed the GVC CallHandler app on my phone and selected it to make the call.  Assistant tried, but when the GVC CallHandler took over, there is an exception saying that the Joying Bluetooth app was not found...which is correct when run on my phone...and that can be found in the app source.
The GVC CallHandler is not used and/or is not an option to make a voice call when I voice "Call mom & dad" on my head unit.  After installing this GVC CallHandler on my head unit, when I pressed the Google Assistant "Call" button described above, then I am asked to choose between the Bluetooth app and the GVC CallHandler app.
From my research, I believe the message "App is not installed" is shown when no activity is found in Android to handle the intent being invoked.  I'm not sure what intent is being called and don't know how to find out what intent is being called.  I have the source for GVC CallHandler.  It's an app from XDA that is available on the Play Store. GVC CallHandler XDA thread and the post with the source.
GVC CallHandler is an app that was previously created to modify the number being called to make it into a format that would work in the built-in dialer.  It would remove characters such as "(", "+", etc.
So, any help to determine and address the "App isn't installed." message as described above would be great.  What I'd like to do is say "Call Mom & Dad" and have the call go through my Bluetooth connected phone to make the call.
Addition:  This happens to any and all contacts that I've tried.
Addition:  The intention of this is to make calls through the Bluetooth attached phone.
Addition:  While testing this again, I was able to find this in the logs related to the request to make a voice call:
android.intent.action.CALL dat=tel:xxxxxxxxx flg=0x1000000000 pkg=com.android.server.telecom (has extras)

This was followed by a failure to find the activity and/or the telecom package.  I'm currently looking into this.
Thank you

Just want to clarify, does the call work if you try to call another one of your contacts? Or does it not work on any of your contacts?
For example, if you said 'Call Dave', does it call Dave?

The same thing happens for any and all contacts that I've tried.  I've clarified and added text to the question/description.

"When I try to do the voice call on my phone, it works. Initially, I made the call through the standard Google phone app. I then installed the GVC CallHandler app on my phone and selected it to make the call." If you remove "GVC CallHandler app", are you able to use the assistant to make calls?

The description about it working on my phone is to determine the "correct" way for Google Assistant to work on my phone.  On my head unit, it did not come with the Google Phone app, as described.  When I installed the XDA version of the Google Phone app, it still did not work and returned "App isn't installed".  So, I tried "Call Mom & Dad" without the phone app and without GVC.  I then installed the XDA Google Phone App and lastly, I tried it with the XDA Google Phone App and the GVC CallHandler and in all cases, the "App isn't installed" message was displayed.

Is the Google app in the head unit trained for your voice? Try training including call command // Also, is it updated to the latest version?

Yes, the Google app is trained for my voice.  As described, it recognizes my commands...it just doesn't bring up the dialer for the call command...it displays "App isn't installed" when I ask it to make a call.  It is updated to the latest version.  All apps are up to date.  As for training including the call command, when training the voice, you are only asked to say "OK Google" and/or "Hey Google".

I thought I'd come back and post an update / conclusion to this question.
With the help of others, it was determined that the Android Telecom server on my Android Head Unit was missing code to handle the voice call.  After replacing it and then adding a custom phone dialer modified to pass the call information to the GVC CallHandler, which then passes the information to the Bluetooth attached phone, the voice calling worked.
Details can be found on the XDA forums under the General / Android Auto / Android Head Units forum in the thread named "Modding your Joying/FYT SC9853i unit without root", page 31.
Note: I thought originally that this was a common problem.  However, this is not a general problem with Android but a specific problem with my head unit and possibly other FYT head units based on the Intel sc9853i CPU running Android 8.1   This may also apply to other units, but you'll have to go through and determine that on your own.


text:
Have volume buttons wake phone
I'd like my volume buttons to wake my phone when asleep AND change volume when awake. (LOS style)
Want to do that manually (ideally by editing keylayout files/build.prop/settings put...), don't want to install any button remapper app.
I took inspiration by Cr0wTom 'Xiaomi Mi AI button remapper' and edited my keylayout at /system/usr/keylayout/gpio-keys.kl (you can find what's in use with cat /proc/bus/input/devices)
key 115   VOLUME_UP
key 114   VOLUME_DOWN
key 102   HOME
key 528   FOCUS
key 766   CAMERA
key 689   POWER

last line is AI button that I successfully remapped to POWER.
If I change first line with key 115   VOLUME_UP WAKE AI button stops working, volume up keeps working as before and doesn't wake the phone.
If I change to key 115   WAKEUP AI button works as remapped POWER, volume up button wakes the phone but does not turn volume up anymore.
running root Xiaomi.eu rom A10 on a Mi9


text:
Booting TWRP custom recovery from SD card
I have a bootloader locked nokia 6.1 PL2 2018 and I want to temporarily boot TWRP for backup using an SD card. is it possible???

no, by-passing locked bootloader is only possible by flashing modified partition into device itself

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

On Android devices the physical location (offset) of the recovery and boot partitions (among many other things) is hard-coded in bootloader. You cannot make it boot from a different location, except on some development boards which provide a switch to toggle boot location.


text:
Why is web page opened
I restored os on my android phone, and when I go to google browser(first time on fresh os), it opened some website that I haven't visited in years. I check all settings and can't find why I got that page... Why is this, and how can I fix it?

May be you once had enabled synchronization of browser data and later turned it off? Now on the new installation it is enabled again and you got your old data synced. That would be a potential reason.


text:
How do I move apps to SD card on Android 7
I'm getting tired of deleting apps to install an app. Right now I need every app I got but also need to download another app. I got no more space left. I've searched high and low for a way to move my apps, completely, to SD card but to no avail. And I don't want to "link" them to SD. I want to "move" them to create space.
Can anyone point me in the right direction please? Thanks!
Android 7 | Rooted | Moto C Plus

See How to move apps from internal to external storage? and How to free Internal Storage by moving data or using symlink / bind-mount with Adoptable Storage?

@alecxs So does linking using Link2SD actually move the files and it's data, thus freeing up the space they were using in the internal storage?

@IrfanLatif Thanks for the links! That's a tad bit too advanced. Can I get a little more guidance? Considering I'm using Android 7, which method would do the job without going the adoptable storage route?

Adoptable Storage is the easiest way to avoid manual setup (though personally I don't like it much and never used it). Everything else requires something advanced, and starts with rooting the device.

@IrfanLatif Like mention in op, my phone is already rooted. I'm not a complete noob so the advanced route shouldn't be that complicated. Could you point me in the right direction? I'd like to give it a shot. I don't want to do adoptable storage because I have bad experience with it.

@alecxs OK. What's the difference between that (Linking) and the method Irfan is talking about?

adoptable-storage is native app to sd method where android is aware of the location, while other methods are cheating

@alecxs I think IrfanLatif is talking about two methods...adoptable storage and something else. It's the something else I'm wondering about.

asec container was predecessor of adoptable-storage

There are numerous possibilities. Mount a partition or a directory from SD card to /data/app or /data/data or /data/media. Or bind mount specific app directories. SD card must be of app grade for a smooth experience. You can create init services to automatically mount them on every boot. Also take care of UIDs, GIDs, modes and SELinux labels. See this answer to get started: https://android.stackexchange.com/a/217936/218526. And please don't say that's a different question. Basic concepts are the same.

@IrfanLatif How many methods are there in what you posted above? And is it better than doing it the Link2SD way?

https://chat.stackexchange.com/transcript/message/56744757#56744757

You can not move all apps to SD card. You can install some app to SD card. Part of the app also install on internal memory.
You can use SD card as internal storage. You can add SD card and choose as internal storage not as portable storage.

Be aware that formatting as internal storage means that you should never ever remove the sd-card from the phone. Also if the phone is reset or defect the data on the sd-card is lost as it can not be accessed anymore!


text:
How to improve bluetooth audio quality

OS: Android 10
Device: Samsung Galaxy 10e
Speakers: Marley Get Togeather

I bought some new bluetooth speakers that were rated highly for audio quality, but when I connect my phone, it sounds really poor.  If I use a cable, it's fine, but bluetooth is really bad.  How can I improve audio quality?  I read somewhere that all speakers for this brand support AAC, but I can't seem to get that working.

If I long-hold the bluetooth button in the drop-down, and select the gear beside the device, I don't see any options.

If I enable developer options and look at the bluetooth settings I see:

codec: SBC
sample rate: 44.1 kHz
bits/sample: 16

If I try to change the code, sample-rate, or bits/sample in the developer options, it instantly reverts to the original settings.  By that I mean if I select AAC, I hear no difference, but the menu shows AAC until I switch windows and then switch back.  At that point it will show SBC again so I suspect it never actually change and that was a GUI bug.
I haven't used bluetooth much, so I don't know if I have a problem with my configuration, a problem with what I'm doing, or if the device itself is limited.

Re:changing properties in developer settings, the Bluetooth needs to be on and speakers connected

I noticed that.  If I am disconnected, the settings don't change at all.  If I am connected, the settings appear to change, but if I refresh the menu (exit and come back), the settings go back to default.  I don't hear any difference in sound, so I suspect the settings only appeared to change (they didn't actually change).

In that case, it looks like a bug with device. Try reaching out to Samsung


text:
GPS turns on every time WiFi network is changed
Whenever i change WiFi network, GPS just keeps turning on. I turned off GPS and change system settings permissions for every app, but it still keeps happening. Recent location requests shows that no apps have used that permission. Turning off google's find my phone also doesn't help. What is going on?
Device: Samsung Galaxy s10

Check the advanced location settings regarding if "Google Location Accuracy" is activated.

You can try to go to Settings -> Connections -> Wi-Fi -> Three-Dots-Menu -> Advanced -> Turn on Wifi automatically -> turn this setting off.
It seems like some devices claim access to GPS in order to find the available WiFi networks if this setting is activated.

Yeah, this is literally how High Accuracy Location Reporting works, by using a combination of GPS and WiFi. Most apps are making a call to Google Location services to get this which uses the WiFi and GPS to get a more accurate location than GPS alone, not the app itself which is doing it, it is just making a location request to the system. That doesn't mean the app can't see your available WiFi networks, because it can (otherwise WiFi scanner apps wouldn't work) but most are not looking at the WiFi itself.

No, that doesn't solve the issue.


text:
No add work profile on Samsung Galaxy S21+
I just bought Samsung Galaxy S21+ and I went to the manage accounts to add a work profile, but there is not an option to do so. I am wondering if I can download a newer version of Android to get this or if my phone needs updates.
What can I do to get the work profile option on my phone?

https://www.wikihow.com/Access-Work-Profile-on-Android

Last week on my old phone I had a work profile. I followed the instructions you shared. And I do not have this option any longer for the work profile with my new phone..do you know why?

can't your IT department help?

Could you mention your old phone? Based on my experience, you just need to add the work account, then depending on the setting from your company, the work profile will (or won't) be created automatically.


text:
Get homescreen icons back to normal size
My dad's phone (google pixel 4a, latest android version) seems to have changed the size of the icons on the home screen while in his pocket. Is it somehow possible to get this back to normal?
We have so far tried the following things:

check display & font size in the accessibility menu is set to default
there is no option to customize the icon size by holding an empty spot in the screen (only the ability to switch the launcher)
we weren't able to find an option to change the grid layout on the home screen

There is no custom theme/home screen/launcher installed

Which launcher app are you using? If you don't know what I mean, than tell us the Android device and Android version you are using.

The device is a google pixel 4a using the latest version of android

Long press on the empty space on home screen  and choose Grid. Change it to 5x5. For help, see https://www.xda-developers.com/download-pixel-launcher-google-pixel-5-adds-grid-size-options/

Check if magnification is enabled under accessibility settings

@Firelord there is no option there, the website you specified was for pixel 5 and 4a 5G, this is a Pixel 4 however.

On my Pixel 3a, assuming the launcher app is still the stock Pixel Launcher, I just replicated the issue by long-pressing the empty space on the home screen, choosing "Styles & wallpapers" (alternatively, accessible from Settings-Display), selecting "Grid", choosing "2x2", then pressing the checkmark on the bottom right. But I'd be surprised if it was done accidentally...

@AndrewT. I am using the Pixel 3a as well, could you maybe tell me what version of the pixel launcher you are using (I am using version 11)

Same version 11, on Android 11. If that's the case, what did you mean by "the ability to switch the launcher"? Is there any other launcher? What launcher is shown on Settings - Apps & notifications - Advanced - Default apps - Home app?

@AndrewT. Thank you for replecating the issue. This may sound really stupid. Even so I am using the same Smartphone and version I am unable to find it. Here is a recoding of me going through the menus.

@AndrewT. I can only report what my dad is saying about his phone, since I am in a different country. I will ask him to take a screenshot.

I also am using the Pixel 4a, and for me, there is a "Raster" tab next to the style and wallpaper tab. I'm on the latest security patch level, your Dad may try to update to the latest version and see if this issue persists?

@AndrewT.  Thank you very much, appearantly he must have overlooked it, only when I asked him to take a screenshot he realized it. It wouldn't have been possible without your help to solve it, since I am unable to replicate it on my phone.

@BenjyTec Thank you very much, he must have overlooked it.


text:
Cannot Enable Certificates
I've got a Samsung Galaxy J3 Prime running Oreo 8.1 that is getting NET::ERR_CERT_AUTHORITY_INVALID on literally every website, regardless of browser.  When I check the security certificates (Settings -> Security -> Other Security Settings -> View Security Settings) I see that every certificate is disabled and if I try to enable them they seems to disable again immediately.
I've tried multiple networks and applied all the updates I can with no luck.  This is a friend's phone so I don't know if any apps have been installed recently or anything.
Hopefully someone can think of something I have not.

Is the device rooted? has somebody tried to install a new certificate? Have you performed a factory reset (best from Android Settings menu).

I never did figure out why the certificates were greyed out, but I was able to re-enable them by tapping each one and using the enable button. For some reason the enable slider in the list didn't work, but tapping them and then tapping enable did.


text:
Disable search suggestions based on current page
Chrome has recently started offering search suggestions based on whatever is currently in the tab when I enter the address bar, like this:

How can I disable this?

From 3 dots menu → settings  → Sync and Google services →uncheck Autocomplete searches and URLs
Source: Chrome Privacy Whitepaper


text:
Add Maps-URL to homescreen
How can I add a shortcut with this url to my Homescreen?
https://maps.app.goo.gl/1234567
When I open this URL in Chrome, the Maps Application starts and shows the desired page/activity. But because of this instant redirect from Chrome to  Maps it's impossible to use chrome's builtin add-to-homescreen feature for this type of URL.
The final Shortcut should open the Maps-App as Chrome already does. The final shortcut may open my browser just for the redirect into Maps, so a simple URL-Shortcut should be fine.
I tried QuickshortcutMaker but it does not offer to add URLs.

Found a solution.
I use the App "Url Shortcut" and add a shortcut to open Chrome to navigate and redirect to Maps. For this the URL needs to be changed:
googlechrome://navigate?url=https://maps.app.goo.gl/1234567

I couldn't find "url shortcut". I used Website Shortcut by deltac which worked okay for urls.


text:
Mysterious and whimsical selection of ringtones recognized by clock as alarms
I have a Samsung Galaxy Tab A with S pen. I am trying to add additional alarm sounds to the list used by the native alarm clock app provided by Samsung, as these lack personality and often fail to wake me. I copied all the ringtones from my phone to Dropbox, and then exported them to the Ringtones folder with the Dropbox export feature.
Of the sixty-odd ringtones so exported, exactly four appeared in the alarm clock list of available sounds. I can discern no pattern in the ringtones so appearing. All 60 are all of the same file type, .mp3s. They are not especially long or short, nor large or small. They are neither clustered together under any file sort view nor evenly spaced. I have played all the files with six different player apps, all such apps that I have installed. With one exception, every app played all the files without difficulty.
The exception is the Sound Picker, invoked via the plus sign at the top of the clock's list of alarm sounds. The Sound Picker shows the four ringtones the clock sees, and four more, again with no obvious pattern; also a bunch of short snippets of some lecture that I do not recognize. The sound picker allows me to add exactly one of these new sounds to the clock's list. Adding another removes the one previously added.
I am completely befuddled by this and have no idea how to proceed further. Any insight or diagnostic suggestions welcome.

IDK what causes this but solution here may help

Thanks @beeshyams! I have used ringtone maker apps in the past, but this one is much easier to use.  I found, through no insight of my own, a mysterious solution to my mysterious problem. My ringtones appeared in the new location at a rate of one per several hours. Three days later they were all there. Why so slow? No idea. No visable reformatting of the files.

I found, through no insight of my own, a mysterious solution to my mysterious problem. My ringtones appeared in the new location at a rate of one per several hours. Three days later they were all there. Why so slow? No idea. There was no visable reformatting of the files.


text:
What Is "Font Server"? And is it a virus?
I've been doing malware scans for my phone pretty often recently, along with browsing and searching up apps/ files on my internal storage. I found one called "Font Server" which has a blue guy with a smile face as the image. I searched it up and found people saying it was a virus, it says it was installed in 2008 even though I got my phone in 2018 so 10 years later. I'm timid to imediently try anything so I want to make sure if anyone know what the app is/ if it is harmful/ if I should remove it or not before I do anything. Thank you!

sounds like emoji app to me. you found/ or some app found "Font Server"? in apps/ and or in storage? If app - what's the package name of this app? Who says it's a virus (link)?

you can use (pm) package manager or some app to view package names


text:
Recovering a deleted text message on Android
I accidentally deleted a very important text message that I received that included a link. I need to locate this text message. Is this possible on my Android Alcatel chatr wireless (cell provider) phone?

not without root access. depending on phone model chipset and/or android version there might be a workaround to create raw backup of userdata partition. SQLite browser may show deleted messages from mmssms.db (if database not flushed yet)

for example Alcatel 1 is mediatek chipset (mtk-su exploit or preloader mode) while Alcatel 1B is qualcomm chipset (edl mode). latter one most likely file-based-encryption which makes impossible to decrypt raw backup


text:
If I buy a new screen, can I fix this issue in my phone?
I have a xiaomi mi 9t pro (I guess it's also named k20pro), it's that 2019 xiaomi phone with moving front camera, no notch. And for the last 2 months I got this pink-blurry-stain in the bottom-right side of my screen. It's slowly growing, already making it harder to use the phone. Also it has something like a "blind spot" for the touchscreen, a little above the keyboard (fortunatelly). I was wondering if I could fix all these issues by replacing this phone's screen.
The technicians in my city say they can do the job, but I'll have to buy the replacement by myself, and I'm a bit worried to buy the wrong screen. It's very easy to find, but I would like to be sure that I'm buying the right item. In example: This seller shows the correct names for the phone, he has amoled blue frame (my phone version/model). Is it all I need?
Thanks in advance =]

To me it looks like a video decoding problem. The bad thing is: if I am right, then a display switch won't help. The good thing: you have some good chance to fix it on a software way.

Sorry, the problem isn't the video thumbnail, this is just a random screen I've used. The problem is the pink stain in the phone's bottom-right corner. It shows up in every screen: The launcher, google now, boot screen, lock screen, games etc.

physical damage. replace screen

btw i recommend to set up scrcpy as kind of emergency access immediately. this requires usb-debugging from developer options


text:
How to pick a phone for long usage?
Is it possible to buy an Android phone for 5 years?
First, replaceable battery, yes.
But then, will I be able to use new and newer Android versions?

Since all devices will be officially declared as EOL'ed sometimes in the future by the manufacturer, you can only rely on custom ROMs afterward, which is still not 100% reliable. (Case study: Google just EOLed the original Pixel. How long until it's a brick?)

Yes, it is possible to buy an Android phone that will last for 5 years.  My phone has served me well for 7-8 years, so far, and I believe it will last even longer.
However, you can't tell what will happen in the future.  So, here's some other thoughts.
The phone will definitely need a replaceable battery as batteries go bad.
Best thing to do would be to buy a phone that is popular or that you believe will be popular in the future.
Custom ROMs are key, as already mentioned.  XDA is where you'd likely find custom ROMs.
If the phone is popular enough, then in the future, with more people owning the phone, it will be more likely that there will exist someone that is able to and willing to create and maintain a custom ROM.  However, with a phone that has many models, some models may get more or less attention.
Also, with a phone that is popular will likely mean that there will be more replacement parts available in the future...although a lot of phones, I believe, are being made to be less serviceable...so that more people replace their phones.
I have a Samsung Note 3 that was first released in September of 2013.  It had Android 4.4 and later Android 5.0 also.  Nothing after that.  I was OK with it, except that some apps stopped functioning or were updated, requiring newer Android versions.  Luckily, XDA had a custom ROM for Android 10 and now for Android 11.  I was also lucky that the person(s) creating and maintaining the ROM(s) has/have a Note 3 model compatible to mine.  It's fast enough and has most, if not all, of the things that most current phones have/do.  I replaced the battery with an extended battery and can get up to 7-10 days of usage by minimizing screen use.  Main thing it doesn't have is the upgraded cameras that are available now.  There are some other items too, such as fingerprint sensors missing.  Liked it so much, I bought a second hand one for $60.
You'll also probably want a phone that is sufficiently fast as future apps will likely be more "intensive".  Another thing is that you'll probably want one with sufficient RAM/ROM so that future larger apps and ROMs will have enough free space.
Depending on what you'll be using the phone for, you might actually want to buy an older, released phone that meets some or all of the above.  I believe the replaceable battery will be the biggest item.  This way, you can verify whether ROMs are available, such as on XDA.  Also, chances are, if there's a custom ROM available, it's more likely that there will be future custom ROMs available for future versions of Android.

Thanks, I didn't think of ROMs being so important here.

I'll also add that along with the custom ROM, there will be things like a custom recovery and most likely rooting the phone.  These two items are required to install a custom ROM most, if not all, of the time.  TWRP is the most common, supported custom recovery at this time.  With the phone you select, a good place to start for these is, again, XDA.  Start with the phone and then you can see forums/threads related to it.  Good luck.


text:
Internet access via external Wi-Fi adapter
Good afternoon, colleagues.
There is:

Samsung S7, LineageOS 15.1, root, terminal, kalinethunter, drivers for AR9271 in kernel;
WIFI USB adapter Alfa atheros AR9271;
USB-miniUSB cable.

Required:
Internet access by a browser, not through the built-in wifi of the smartphone (wlan0), but through the external one (wlan1).
Tried:

turn on wifi in the smartphone settings;
delete the memorized network in the wifi settings (so that the smartphone does not automatically connect anywhere via wlan0);
in the terminal:

sudo ifconig wlan1 up (in any, kalinethunter, androidsu)
wpa_supplicant -i wlan1 -c / etc / wpa_supplicant / wpa_supplicant-wlan1 / conf (only in kalinethunter terminal, androidsu gives wpa_supplicant not found)
dhclient wlan1 (only in kalinethunter terminal, androidsu displays dhclient not found).

after that pass successfully:

from the terminal kalinethunter ping 8.8.8.8 and ping google.com;
from the androidsu terminal - ping 8.8.8.8 (if I add ip google.com to system/etc/hosts, then ping google.com also work);

But browsers (firefox, chrome) do not see the network. How can I go to the Internet with a browser (firefox, chrome) through wlan1, can you have ideas?

See my answer to Connecting to WiFi via ADB Shell. Also related: https://android.stackexchange.com/a/225741/218526


text:
Why there's an "Android" folder in my phone's storage?
I'm just wanted to know why there's an Android folder. As we all know that the data which apps stores for itself stores in root directory which is "data/data" but why there's an Android folder? Please let me know.

this is basically used for unimportant data. for example spotify caches huge amount of data in that directory

Or used for data, the device owner is supposed to have access to from a PC via USB/MTP.

Android folder includes apps' private directories in public/shared storage. Sounds weird? See details in Android's Storage Journey.

Thank you for the comments, I got my answer


text:
What is the difference between a "Phone" calendar and a "Local" calendar in Android?
I've been helping a friend with their Android phone. They have 3 different types of calendars, according to their "Business Calendar 2" app:

Calendars synced to a Google account
"Phone" calendar (it has 1, and no more can be added)
"Local" calendars (it has 1, but more can be added)

What is the difference between a "Phone" calendar and a "Local" calendar, and how can one remove all the data in the "Phone" calendar?

I would assume that the type "local calendar" is specific to the Business Calendar 2 app. May be a calendar that is only accessible from within Business Calendar 2? Better check the help pages of Business Calendar 2 or ask it's author.

@Robert Thanks Robert. Before posting, I had scoured the BC2 help pages, but unfortunately didn't find anything relevant. I seem to recall that Android has several different types of calendars, each with a different identifying string. If that sounds vague, it's because it is... I just can't recall all the details!  I remember discovering this from experimentation I performed over 5 years ago.  IIRC, one ID was for a "Phone" calendar, and then you can have almost an unlimited number of IDs for "Local" calendars and synced calendars. It was many years ago, and so I don't recall all the details.


text:
Photos made this afternoon disappeared after I rebooted phone - how to recover them?
This morning, since the memory of the internal storage reached its limit, I moved all the pics in the Camera album to the SD card. In the afternoon, I took a couple of pics which if I remember correctly were stored by default in the same album Camera (in the SD) in which I moved the other pictures in the morning. I checked them on the way home and they were still there. At some point, I wanted to edit one of the new ones but it kept giving me errors (no connection and "you can edit only pics larger than 50 x 50 pixels"- and I was surprised since they are always larger than that!).
I rebooted my phone, and when I opened the gallery the pics taken in the afternoon were gone (not to consider how many pics got corrupted among the ones I moved in the morning). I took other pictures, still ended up in the Camera folder (in the SD!), still editing error. I rebooted again, and they disappeared again.
Even weirder, after some time a retook some pics and these were saved in the Camera folder in the internal storage (Not in Camera SD!), and they are not disappearing anymore.
I already tried re-inserting SD. What can I do?

guesswork: if not the MicroSD Card itself is corrupt, probably the app used for moving did not notice that it didn't had permission for MicroSD Card, so the pictures where moved into nowhere. remaining thumbnails where refreshed and disappeared from gallery on reboot

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


text:
I formatted my SD card as internal storage, downloads still go to the phones internal storage
Yo, I just formatted my SD card as internal storage, and the storage section says that in my device storage I have 30 GB, but downloads still go to the phones internal storage, is this how its supposed to be?

https://android.stackexchange.com/a/43522

How to free Internal Storage by moving data or using symlink / bind-mount with Adoptable Storage?


text:
Can't install apps anymore - only via adb
I recently tried to extend my internal memory of my Moto G5 with a 128 gb sd card, so I backed up the previous smaller card to my pc, switched cards, formatted the new card as internal, copied back all the files and thought I was done. I wasn't.
I noticed that all the apps that I had parked on the sd card were not installed anymore, so I thought I'd install them again. When I tried to do that, the usual installation dialog opened but ended with "App was not installed". The
is happens whether I use Googley Play, Amazon App Store, or a local apk. With F-Droid it's a little different: It shows me that the installation failed because of an unknown error.
The only thing that seems to work is installing via adb, but that is rather impractical on the long run.
The phone is a Moto G5 running vanilla Android 8.1, and has about 1.5GB of free space in the internal storage. I tried the usual: empty cache and delete data of Google Play Store and Services, and rebooted several times before and after that.
Any ideas what I could do next?

You could try to fix this by uninstalling and re-installing the affected apps via adb: adb uninstall -k <packagename> will uninstall the app but keep it's data. This allows you to re-install the app without loosing the app-date.

Thanks for the advice. Uninstalling this way works. Re-installing does not.


text:
Printer server set up through router
I've got an Epson L220 series printer and connected it to my Huawei EG8145V5 router using my printer's usb, I can print wirelessly from my laptop without any problem, but when it's different in android, I tried Epson iprint and other printing apps and all of them doesn't support my printer except from Let's print droid as I manage to connect my printer to my android the only problem is it print random characters instead of printing the actual document.
Is there an app the would let me print wirelessly using a usb printer that is connected to a router?

Have you tried the official Epson iPrint respectively the Epson Print Enabler app?


text:
Can an Android phone pull contact data from somewhere other than Google Contacts?
Is it possible for an Android phone to source contacts data from somewhere other than Google Contacts? If so, does it only do this by syncing, or can it actually connect to some other contact service or provider to source contact details directly?
Or, is Google Contacts literally the only place it will look for contact data?

An app can implement a custom "Contacts Provider sync adapter" to synchronize contacts with a custom non-Google contact list/source. Those contacts will then be available in the Contacts app on your device. Therefore yes it is possible you just need the matching app that provides a contact sync mechanism with the contacts source you have in mind.

There are several sources that can be used for contacts. I eg use CardDAV (and CalDAV for calendars) with my own Nextcloud install (an app named DAVx5, formerly called DAVDroid, takes care for the sync). There are more sync apps available, and also other, more light-weight server software (like Baïkal).
You can also use a local contact storage and take care for backups manually (using the Contact app's export/import feature). On-device they all use the same database (which has a field to mark the source, so data added to one does not get accidentally synced to another). If your device does not provide such local storage, apps like MyLocalStorage can provide it.
Should you want to hide contacts from other apps, you'd need to keep them away from the "ContactsStorageProvider" offered by the system. This is possible using apps that provide their own contact storage, such as Contact Book or OpenContacts.


text:
"Verify it's you/Purchase Authentication" issue with Google Play
For 2 weeks, I came across an issue. When I try to buy something with Google Play, it tells me that I need to enter a 5-digit code which I get by SMS on my phone. After that, it sends me on a similar screen which says "Verify it's you/Purchase Authentication" as you see in the picture I posted.

I tried everything, passwords, that 5-digit code that I got earlier, card info, etc. I honestly don't know what to do since I couldn't find any info about this issue. The problem isn't just on my phone but on the emulator too.
Additional info:

adb shell dumpsys activity activities
adb shell dumpsys window windows

What do I need to put in that blank space?

That screen looks very suspicious. I am very sure that it does not belong to Android or any Google service/app. Therefore I see two possibilities: 1. On your device some administrative software is installed that prevents you from buying something in Play Store. 2. The screen is generated by a malicious app and is some sort of phishing attack. All entered passwords may have been sent to the malware backend.

Hi, recently there's another facing the same problem, and based on their info, they live in Romania and using Vodafone mobile carrier. If you're okay with sharing some info for pinpointing the issue, could you also mention the country, the mobile carrier, and your Google Play's current payment method?


text:
Make notifications vibrate
I have an S9+. How do I simultaneously enable vibrations for notifications and ring volume for calls? When the phone is in vibrate mode, if I make the ring volume nonzero then the vibration mode is ended, disabling notification vibrations.


text:
I rooted my phone but my root is saying "binary reserved" as the app was uninstalled, causing me to be unable to reroot or unroot
I rooted my phone but my root is saying "binary reserved" as the app was uninstalled, causing me to be unable to reroot or unroot, I can't do anything when it comes to rooting. My phone is rooted but the superuser was deleted by accident and i tried to reinstall it, it installed successfully but my phone is still not giving me the option to allow an app to run with su permissions. I tried flashing odin and odin is not working, twrp, and supersu. I'm scared to flash any other root methods because I rooted my phone and the only app that stopped working was Google Chrome. I don't want to lose access to my apps, I was trying to back up but stupid ODIN won't let me flash TWRP or CWM recovery to my phone. My phone is a Galaxy S4 (SGH-I337).

And I used Kingoroot and that worked but I was trying to get SuperSU installed the one that has all features but it didn't work out well. Now I tried Magisk which I am certain would work without losing any data. I'm starting to give up on this eight year old phone.

once used kingoroot your device is contaminated and the only way to fix is flash stock ROM and factory reset. start from scratch and do not use one-click-routing apps. for old samsung devices use cf-auto-root trusted source only


text:
Phone refuses to allow custom rom flash
I did something to my phone to where when I flash my phone with custom memory, I press the home + down + power button, it asks me if I want to flash a custom rom, and I select yes, the phone restarts itself every single time. Some needs to help me, what do I do? My phone is a Samsung Galaxy S4 {SGH-I337}

something is wrong with aboot which causes exit in download mode. what happens if you root with kingoroot again? this should give you back king/superuser. once you have root access you can ask how to flash custom recovery in boot mode, and how to flash stock ROM in recovery mode

try TWRP app or flash philz touch recovery.img 6.58.7 from mega.nz jflte folder

I did try to use the TWRP app but when I flash TWRP it does nothing because when a rooted app tries to gain root access, nothing happens and TWRP crashes, or just hangs because I guess it waits for a response to allow root, I have tried unrooting with KingoRoot or other rooters and it unroots and when I root it seems like the root is successful, the issue is that I don't know how to fix superuser, because either the binary is reserved error is what I get or the Superuser root control app closes and crashes. My only fix for this is CF Autoroot but I don't trust it because I used it before and..

It made my apps unusable, like the apps still existed but they couldn't be accessed or opened. But if I'm gonna have to use CF Autoroot as my only choice then I guess I will back everything up if I can find a way to and then use it in case it erases my apps or makes them unusable.


text:
Deleting data and cache of an app after being uninstalled with adb
I used ADB commands to delete the following from my Pixel:
com.verizon.mips.services
com.android.stk
com.google.android.apps.youtube.music
com.google.android.videos
My mistake is that i forgot to reset their data and cache before running the adb uninstall command. Moreover, I used the command pm uninstall -k --user 0 blindly from an article and i didn't know that the -k switch keeps the data.
Is there any way to delete the data and cache of the above after being uninstalled?

I haven't tried this but see if this works: adb shell pm clear --user 0 PACKAGE_NAME

Thanks for your permit reply. Will it delete both data and cache for a package name that doesn't exist anymore? I also forgot to mention that my phone is non-rooted.

I just tried that command. It doesn't work. Sorry.

pm enable --user 0 ; pm uninstall --user 0

Will factory reset of the phone enough to remove all adb tweaks I've made?

yes factory reset will bring back every system app. but not necessary such drastic task. can't you pull apk from /system? or extract from stock ROM?

I tried posting on forums if someone is kind enough to extract com.android.bips and com.android.printspooler from his or her pixel 4a phone (US model and unlocked) using an app called APK extractor or any similar app and share it with me, but I couldn't find anyone to bother doing it for me. The problem is that I'm not ready for full system reset nowadays because of a WhatsApp number which I can't verify if i format.

google provides download https://developers.google.com/android/ota

I am aware of that OTA factory images but again I'm not ready for this at the moment.

install python
extract payload.bin
mount system.img and
extract apk from (priv-)app


text:
Android Bootchart log analysis
We're running Android 11 on the custom board. We're using bootchart tool for calculating the Android bootup time. Bootchart logs which are generated after enabling bootchart for which we're not able to generate graphic chart using the command "pybootchartgui bootchart.tgz". We're getting below error when tried to generate the image.
parsing 'bootchart.tgz'
parsing 'header'
parsing 'proc_stat.log'
parsing 'proc_ps.log'
warning: no parent for pid '2' with ppid '0'
parsing 'proc_diskstats.log'
merged 0 logger processes
pruned 222 process, 0 exploders, 2 threads, and 1 runs
False
Traceback (most recent call last):
File "/usr/bin/pybootchartgui", line 23, in
sys.exit(main())
File "/usr/lib/python2.7/dist-packages/pybootchartgui/main.py", line 137, in main
render()
File "/usr/lib/python2.7/dist-packages/pybootchartgui/main.py", line 128, in render
batch.render(writer, res, options, filename)
File "/usr/lib/python2.7/dist-packages/pybootchartgui/batch.py", line 41, in render
draw.render(ctx, options, *res)
File "/usr/lib/python2.7/dist-packages/pybootchartgui/draw.py", line 282, in render
draw_chart(ctx, IO_COLOR, True, chart_rect, [(sample.time, sample.util) for sample in disk_stats], proc_tree)
File "/usr/lib/python2.7/dist-packages/pybootchartgui/draw.py", line 201, in draw_chart
yscale = float(chart_bounds[3]) / max(y for (x,y) in data)
ZeroDivisionError: float division by zero

I searched for other utilities which can analyze bootchart logs, but I couldn't found any. How can I fix the above error or any other method for calculating the bootup time?

Hi, it might help us easier if you could link to the tool you use and the version of it, and also the device model and Android versions (in case it's probably not supported yet).

Try the latest bootchart tool from the source: https://github.com/xrmx/bootchart. Report any issues to the developer or your distro maintainer. It's unrelated to Android.


text:
Why my phones won't show Beidou/BDS signal
I tried using apps like GPSTest and GPS Info to see what GNSS my phone actually uses. I can see GPS and GLONASS on a Moto Z3 Play, and GPS, GLONASS, and GALILEO on a OnePlus N10 5G. Both phones should also support the Beidou system, so I'm wondering if there is anything preventing these phones from seeing/using Beidou/BDS