text:
I can't turn on cellular data for postpaid sim card
I was trying to start mobile cellular data. It's been a year I can't turn it on. Usually, I am currently using Postpaid sim card. When I was using Prepaid sim card than, I could turn mobile cellular data. I was reading the article. They said to change APN protocol. I have reset APN. But, I can't find anyway to configure existing APN protocol for Airtel sim card. But, I can't create a new one. They had said to Opt For a Factory Reset. I had reset my mobile 5-6 months ago. In the article, they had said to Reset Your Phone’s Network Connection by the "code" ##72786# then, I am getting connection problem or invalid MMI code. My sim card is 3G. I don't think that "I didn't make it 4G that's why I am getting the problem" (cause, my prepaid sim card was 3G either). I don't have any data limit also. I have rebooted my mobile thousand times. My mobile isn't in safe mode also. Sim card isn't expired also.

You can also manually configure APNs, see "Robi Internet Settings for Android Phone" section here https://wikiofinfo.com/robi-internet-settings/

@Robert still not working

If you can test the SIM card in a different device to check if it works at all for Internet. Otherwise contact your provider.

@Robert It's working well in other device


text:
Zenfone 5 t00j charging, but not recognized by computer
I have bought a second hand t00j however it seems that when i connect it to the computer via usb, it is not listed anywhere, but it is still charging. I tried different USB ports. I have tried with one windows and one linux computer. The phone is in MTP mode, I have the latest intel drivers. It is not showing up in the devices tab on windows. I tried enabling usb debugging. Nothing is listed when i run "adb devices". I opened the phone to make sure the connector ribbons between the usb board, the sim card and the mombo are connected properly. Please help.

i also tried different usb ports, different computers and different operating systems (linux and windows)

so finally try different cables, too. use linux lsusb, make sure to enable MTP mode each time again once phone is plugged. if still no connection, replace jack

tried different cables too, have not tried lsusb, will try it now. The water damage marker was red inside the phone, so hardware damage is completely possible here.

lsusb shows nothing. Most likely a hardware failure then?

my j5 xnlte works perfectly well with all the devices mentioned above.

source: Stack Exchange

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

sort: votes


text:
snopping using developer options. keeps turning back on itself
I think my borther in law has gained access to my phone and written a admin app/ script to automatically turn on developer options. I have turned it off umpteen times and yet it turns itself back on.
can anyone think of how he can do this and what the solution to this is? It appears to do this regardless of having any form of connection to the internet/phone network. I removed the sim to establish this. I have tried to uninstall apps via adb but still.

Disabling developer options has no effect, it is just the menu. You can access this menu e.g. by certain apps even if it is not enabled. Or are you referring to the Android Debug Bridge (adb) that allows device access via USB?

adb bridge am referring to

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


text:
Automated way to determine which apps have background permissions?
Is there an automated way given the apk to determine which apps are running in the background app on Android?
https://stackoverflow.com/questions/25987377/keeping-an-android-app-running-in-the-background-preventing-it-from-stopping-dy
I'm aware of background app usage but it is rather time consuming to install an app just to see if it's running in the background?

What's the "automated way"? An app? CLI method? In coming Android releases apps won't be able to even get other apps' names easily, rather determining if they are running or not. An app can't get other app's running status by normal means.

@IrfanLatif this should really be listed under permissions...but yes CLI is fine.

Perhaps make a script and execute it that checks the .xml of a given apk for background permissions?


text:
How can I set the Teams default meeting settings so that the video + microphone are always turned off by default?
How can I set the Teams default meeting settings so that the video + microphone are always turned off by default?
I use MS Teams on Android 10 with Samsung Galaxy S9.

I use teams daily both on Android and Desktop. There are no settings options for these. (Why, I have no idea) There have been plenty of requests for it...
Teams will automatically mute you if there are 5+ users already in the meeting.
As far as video goes, it appears teams takes the default from your previous meetings. My video isn't automatically set to on when I join meetings anymore. Make sure you select video off in the screen that pops up before you join the meeting. That setting should take effect then.


text:
I have a Zenfone 6 unusable because of a broken screen, and a HTC one m9 with a broken power button. Is there a way I could use one of them?
The touch screen on the zenfone6 is unusable because it presses randomly.
I tried to connect it to my pc and use scrcpy to control it, but it doesn't detect it.
adb doesn't detect it.
I used to be able to use the htc one m9 by waking it by double tapping it, but right now the battery is dead. I charged it, but I can't turn it on. adb doesn't detect it
Is there anything I can do?

Zenfone is working? try to enable adb. otg keyboard may help. regarding htc try to simultaneously press vol keys and connect usb cable, maybe there is a way to reboot from recovery

adb cannot detect the zenfone. I dont have a way to connect a keyboard to the zenfone (no usb c adapter). Pressing the volume keys on the htc while connecting doesn't do anything. Thanks

Try the lighter ignition trick

Isn't it just for screens with deadzones? Mine registers false inputs


text:
How to make it open in browser to click a YouTube video in the result of the Google search app?
If I remember correctly, clicking a YouTube video in the search result of the Google search app used to open YouTube in my default browser. For some reason, it now opens the Play Store link for YouTube. Can I prevent this and make it open in the browser?

@beeshyams I disabled the YouTube app a long time ago (if you see the screenshot above, you see "Enable) because I do not use the YouTube app and it cannot be uninstalled.


text:
How can I download the last supported/compatible version of an app by knowing the Android OS version?
I have a very old samsung phone (Galaxy Ace) which runs Android Eclair. Surprisingly, Google Play and other apps still work and connect to the Internet, but there's a few problems. I had to hard reset it a few times, and all the apps I had were removed. Until last year or so, most of the apps were still compatible with my phone, but now they just can't be installed (they require a later version of Android I suppose, since it says "your device isn't compatible with this version").
So what I'm trying to do is to install every single app from an APK file, which I would download from the Internet. The thing is, I waste a lot of time looking for the latest supported version. This means I don't want an older version, I want the exact last version that was compatible. iOS has this feature, if you previously "purchased" an app you can actually download the last compatible version, but I don't know how to do this on Android.
Do I have to keep looking for the correct app version or can I get the last compatible version?

Android 2.x will be unable to use any Google related services after September 27th https://support.google.com/android/thread/118703101/sign-in-on-android-devices-running-android-2-3-7-or-lower-will-not-be-allowed-starting-september-27?hl=en Play Store never had the feature to download an app as APK. If you use Play Store you only see those apps and versions that are compatible with your device.

@Robert So do I have to manually check what was the last compatible version?

Your device does only support TLS 1.0 which is more and more discontinued by internet services. Therefore even if you find an old outdated app version the chance is high that it will not work as all online connections will fail.

No, your phone is simply no longer supported. Support for pre 2.2 devices in Android Market was dropped in 2017. Please erase your phone and then give it away for recycling.

@Robert I thought of searching for a specific APK file instead of using Google Play

apkpure or apkmirror usually have index for android version compatibility, but I doubt it goes so far back in time


text:
Enabling developer options does not work
I have a Samsung J3 (2016) which I would like to root. To do so, I want to enable the developers options. I tried the method which always works (tap 7 times on build number). This method does not work unfortunately.
Is there a different method to get usb debugging enabled?

Family link was the reason developer options could not be enabled. After changing the device settings in Family Link app, developer options could be enabled by tapping 7 times on the build number section.


text:
Android 11 update
I use an Oppo A 54 and had received an update prompt that Android 11 update had been downloaded and if I wanted to install it now or later so I clicked on view more details and changed around a few settings. The moment I exited out of the app the Android 11 update had gone and it says my system is completely updated. I have tried restarting the phone but to no avail. I've just bought the phone probably 3 weeks back. Have I lost the update forever? I'm kicking myself right now for not clicking install now right away.

On most devices the button "check for updates" does not really check every time you press, especially if you had checked some minutes/hours before. Therefore I would assume that the update will appear again in a few days. You can't really block updates on stock Android devices.

I recommend to stay on android 10 because android 11 is immature


text:
Is the data on flash memory encrypted or unencrypted?
I understand there was full disk encryption from Android 5.5 to 9. Not sure it was ever the default, and not sure what the default is now. I've bricked a Pixel 3 running Android 11, and I want to know whether something crazy like this flashfixers.com/recover-data-dead-phone-chip-off-data-recovery could recover the data.
I've tried everything else. The device is stuck in a freezing boot loop. I can make it to recovery mode, but sideloading an update through adb doesn't fix it, and I can't use adb to pull data nor fastboot to load TWRP, because I never unlocked the bootloader. Not ever sure unlocking was possible, because it's been on a Verizon payment plan.

Pixel 3 was released Oct. 2018 with Android 9. And it contains a titan security chip. That device is encrypted by default for sure, I would assume using File Based Encryption. That makes data recovery on flash chip level next to impossible. I assume you are affected by the Pixel 3 a lot people have faced this year: https://arstechnica.com/gadgets/2021/09/reports-of-pixel-3s-bricking-with-edl-message-are-growing/

I got mine October 2019. Would starting out on a later version of android make a difference? By then they were up to 10.0 https://developers.google.com/android/images#blueline

Does this answer your question? Couldn't unlock phone and stuck in a reboot loop after my battery completely died once, sideload doesn't fix

I ended up discovering that my two front-facing cameras were plugged back into the wrong slots. I had them flipped around. If I unplug them, the phone starts. If I plug them back in opposite, it starts. Too bad I already factory reset.

are they modular/removable? kindly post the solution as answer (maybe to the other question?)

Well it doesn't answer my question, but it solve the issue that was causing me to ask this question. The question is about whether the flash memory is encrypted, and the answer seems to be yes.


text:
How to set developer option after reboot?
My phone reboots upon BT connection if I don't set the BT codec to SBC. I've been messing w/ Tasker to automate this upon reboot, but I have root access, is there any way to set this programmatically to stick? It seems it gets re-set often back to "best effort"/default. Ideally, this would be perhaps a one off script, or a script that Tasker can call upon reboot vs using "sendkeys/autoinput".

https://forum.xda-developers.com/t/unofficial-havocos-3-5-for-the-lg-v40.4104753/page-2#post-85607441

Try dialing code *#*#4636#*#* into your phone. No need to press the send call button. After the last * is input, the pop up screen will automatically display. Choose option usually displays (PHONE INFORMATION).
Then you can modify an update a connection your having issues with.
There is so much information and a vast amount of ways you can go about fixing your device. That said, I simply can't go into in-depth detail pertaining to your issue, so best option is to search the information you don't understand once you enter the configuration pages.  Hope this helps.

Cool menu! I will save that special code as it seems to be version independent which is nice! But, I saw no way to manipulate BT settings. On the other hand, this did get me wondering if I can access the other menus, but its a custom ROM from Pixel 4 so I think I'll look up that device.


text:
How to make Text Scaling in Chrome Accessibility work in non-desktop mode to make fonts smaller?
When I use text scaling and reduce it to 50%, it remains the same in normal mobile site mode. It only reduces the size in desktop mode.
Is there any way to configure this size? In Firefox, I can see much more content due to smaller fonts than in Chrome.

It does work for me (Pixel 4a, Android 11).Is your Chrome updated?


text:
"Unable to get VPN permissions, you may need to reboot device and try again"
On my Play Store-included Chinese Android phone (Xiaomi Poco X3 NFC), I recently encountered an issue where I had to re-accept permissions for all of my apps.  My VPN app failed, and I began getting errors that the phone itself was preventing me from connecting to a VPN.  I tried clearing the cache, the files, re-installing the app, using new VPN client and configuration files, restarting the phone, etc.  None of this helped.

I backed up all of my data and reset the phone to factory defaults.
Important reminder:
Before resetting the phone, I removed my MicroSD because the dialog said that it would delete everything on the MicroSD if I did not do this.
Sussing out the source of the problem:
After reformatting my phone, I slowly installed each app that I thought might be the culprit.  Then, I slowly did each system app update.  I found there were a few apps that could cause the problem.  These are the apps that I suspect have the ability to permanently block connection to VPN in order of confidence with first being most certain: Mi Credit, Screenshot (by Mi), Updater (by Mi), and Security (by Mi).  There may be other system apps that create this problem.
Update: Themes (MI) also creates this problem, consistently.  The VPN connects and says that it is connected, but download rates drop to 0kbps.  If I remove myself from the MI Themes privacy policy and wait a few minuets, the VPN starts working again.  If I re-accept the privacy policy, the VPN stops working, again.  This is reproduceable.
Methodology:
After reformatting, I spent a few hours connected to my VPN and browsing before installing any of these apps.  After installing them one-by-one, I encountered issues.  Removing updates did not undo the problem of the VPNs being blocked: I had to factory reset the phone, again.  I installed these other apps, one after each reset, to test each one of them.  I installed "updater" and "security" at the same time so it might be only one of these two, but I suspect that all of the system apps on the new MIUI system app update set are tainted.  Finally, I reset the device, ignored all updates, turned off auto-update in three locations--Developer Options, System Apps Update settings, and System Apps Updater settings--, and began to use my phone again.  Everything has been working fine for 24 hours.  If it fails hereafter, I will update my answer and include it as part of the question; so, if my answer is here, the theory stands.
How is this happening?
If anyone knows why these apps are causing this problem or can guide me through figuring it out, please mention me in a comment.  Thank you!


text:
Can the Samsung contact app be configured not to show suggestions when entering a new contact?
Can the Samsung contact app be configured not to show  suggestions when entering a new contact? The default behavior of showing suggestions is not ideal from a privacy standpoint when someone is around looking at whether one enters the proper information into the phone.
I use the latest Venmo app on Android 10 with Samsung Galaxy S9.


text:
Disable Google Assistant Gesture
Im using Miui 12.5 in my Redmi 9, and for navigation im using gestures(swipe up for menu, swipe from corners to center to go back, etc), but sometimes when swiping up, instead of going back to home screen it shows the google assistant(like in the image) and i could not find where to turn this off. How can i disable this behavior?

Interesting, on my Pixel device back is swiping on the left or right display edge towards center. Swiping from one of the lower corners towards center is for the assistant.

Just to be sure, have you searched for "gesture" in the Android settings?

@AndrewT. yes, it just shows the options for miui gestures


text:
Galaxy S21: How do I leave my mobile hotspot turned on 24/7?
I'd like to have my mobile hotspot turned on 24/7. Currently, it gets turned off it's not being used for a while. How do I disable this behavior make it permanently turned on?

I guess you can't. Mobile Hotspot consumes battery, a lot, and is disabled after a while when not used.

I'm not sure how to do this forever but one way to keep it on longer is to make sure you, Auto connect to wifi' option is off.  Otherwise, when you go to a spot where you previously saved a known wifi connection, it will auto connect an hotspot can not stay on if wifi is on.


text:
Is there an official source of Google Play Store/Service Framework/GMS? or trustable third-party sources?
I tried to install the three Google apps with the auto-installer I used for my non-rooted Huawei P40 on EMUI 11.0.0 (based on Android 10, I think). Though the installation was successful, there was no response when I click the sign-in button of the Google Play Store.
So I want to try with the latest stable official APKs, but I couldn't find any. Is there an official source of Google Play Store/Service Framework/GMS? or trustable third-party sources?

GMS suite needs to be privileged system apps. That's why they are come prebuilt with the devices (related answers: https://android.stackexchange.com/a/218153/218526 and https://android.stackexchange.com/a/216646/218526 and https://android.stackexchange.com/a/209870/218526). On rooted devices (or those with custom recovery at least) they can be flashed using third party installer packages like OpenGApps (and many others). But they aren't meant to be installed like normal user apps.

https://android.stackexchange.com/q/217873 https://android.stackexchange.com/q/233835


text:
Autodeletion of bootup sound
a noob here
My stock rom doesn't have a default boot soundBut my old device has a boot sound(Which means I can change it)Then my question is that how can I set boot up sound on my relatively newer deviceMy phone is not carrier locked in any wayMy old device is Samsung tab4 10.1My newer device is Samsung J7 max OS - 5.1.0 and 8.1.0 respectively My newer device automatically deletes PowerOn.ogg in my /system/media/audio/ui after a reboot I have theese many magisk modules

Is any of these modules interfering  Any workaround is appreciated
Thanks in advance

Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.

I want to set a bootup (a sound that plays at bootup) sound but my stock rom doesn't have one by default so I can't just change poweron.ogg  in the ui directory under /system/media/audio

All that I am asking is that my older device running android 5.1.0 Samsung stock rom + twrp is able to change its bootup sound by changing poweron.ogg but in my newer rom 8.1.0 (stock deknoxed debloated + magisk + twrp) is unable to set a bootup sound ( it is deleting poweron.ogg after reboot )

Please help I am desperate


text:
i can't boot into recovery mode on my Nokia C2 tennen
When using the hardware key combination( Volume up + Power button)it doesn't go into recovery mode at all
The only option I'm able to get is fastboot (Volume down + power button)
can anyone help me??

Does this answer your question? Is there a way to enter recovery mode without using home and volume keys?

Nope..But thanks

you can factory reset from google

https://www.hardreset.info/devices/nokia/nokia-c2-tennen/recovery-mode

Have you tried 'adb reboot recovery' ? Works on all my devices.

when I do it gives "error no device/emulators found"

are sure about that? reboot recovery requires root access

Is your device powering on? If yes, then you need to enable the developer mode in Settings -> about phone. You can find hundreds of how-to with a little googling.
https://www.carlcare.com/global/tips-detail/how-to-enable-or-disable-developer-options-android
If not, for motorola devices, when you enter fastboot, you can press Vol+/Vol down to select the options. One of the options is the recovery mode. Then just press power button to select.
@alecxs, yes I'm sure that 'adb reboot recovery' don't require root access.

I can't get to settings, Because I'm locked out of my phone that's why I'm trying to get to the recovery mode to hard reset it...But the key combination doesn't work @DenisRosas

Could you try this? https://youtu.be/etXb1bg2NCY?t=42

Didn't work..But thanks


text:
The phone is not running Samsung’s official software
Does anybody why my Samsung a40 phone briefly in red text say "The phone is not running Samsung’s official software." and then booting to Download mode. I got this error after trying to flash Twrp.

TWRP is not an Samsung official software. Even if you failed to flash TWARP completely at least some change seem to be written -> the software no longer in a genuine state.

already linked on your other question one can't install TWRP on RMM state prenormal, your only chance is flash full stock ROM from Odin and wait 7 days with registered SIM card until device gets unlocked, then read carefully instructions how to unlock bootloader correctly without activating vaultkeeper

This answered my question: https://www.sammobile.com/forum/threads/45894-Restoring-Stock-Firmware-with-Heimdall


text:
An unknown symbol looking like a red pin marker with "EMD" text shown on the screen
I have a Vivo Android phone. The screen is showing a red pin marker with "EMD" text in it.

(Click the image to see in full size)
What is this, and how to remove this?

check your app drawer and widgets for similar icon


text:
My massages are not delivered to a particular contact on Whatsapp
I have a friend. He lives in Finland and uses WhatsApp on his iOS Phone. I'm in Iran and use WhatsApp for Android on my Galaxy A8.
Over the past few months, our ability to communicate through this app has deteriorated. He says he doesn’t receive my messages, apparently he can’t see them. This is frustrating, to say the least, and puts a lot of unneeded stress on both of us.
He says that I'm the only one this happens to, and that communication with his Iranian contacts works just fine.
I'm really clueless. I've scoured the Internet for answers, but I can't seem to find any. I send messages, and in the time they delivered to my friend, after 2 or 3 days. I've uninstalled and reinstalled the app countless times, and my network connection at my house is perfect. But this seems to only be getting worse. I send him several messages a day, but I only get some of the messages about every other day--usually every two days.
I'm not a tech by any means, but it seems like there might be something wrong with the different versions of WhatsApp. Android communicating with the iOS Phone. So if this is the case, then my question here is unneeded. I've contacted WhatsApp Inc. with my concerns but not get any appropriate answer

https://signal.org

Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.

I am asking about why my massages are delivered to my friend in Finland after 2-3 days and how can I solve this problem??


text:
How can I view a website that doesn't have mobile-view, in mobile view?
Website I'm talking about is a forum. Currently I have to zoom in similar to when your browser is on desktop view. I would like to do this on Android.

If a site is not designed for view on a tiny display, you'll most likely need to be performing a lot of zooming and scrolling.
Think of a web page like a printed newspaper.  If you try to view a printed newspaper by folding it up to be the size of a small paperback book, it's going to be a challenge to read.
That said, may sites have implemented both desktop and mobile views by design (it's called "Responsive Design").  Most site-browser combinations will pick the best code path for your screen size.
But that doesn't always work as expected.
Some browsers, such as Privacy Browser, have options to allow you to manually adjust the view to hopefully improve your experience.
Sometimes Privacy Browser works great to improve sites; other times, not so much.
Note that online forums are notoriously bad for this sort of thing because the forum software has to allow postings with unpredictable formatting.  When someone formats a post with a dozen wide columns, it's not easy for the forum software or web browser to accommodate the restrictions of a small screen.


text:
Cannot move apps to SD card using App2SD
I have Samsung Galaxy Core Prime running Android 5 Lollipop. I try to move some apps in the SD card with App2SD, but the file manager does not work.
Can anyone here tell me more about my issue? Because my mobile version is updated.

Hi, could you [edit] and explain more on "the file manager does not work"? What really happened? Did it not open? Or did it crash? Or..?

Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.

Thank you for replay me.I download an app with apkpure etc.after installation I try to move that app into sdcard.the option is hide to move into sdcard.mean to say that the app install in internal memory.just like playstore installed. I try to move those app with apps2sd .but the move options buttons not appear

https://play.google.com/store/apps/details?id=com.gmail.heagoo.sdcardmovable

Does this answer your question? How to move apps from internal to external storage?

No this is not answer of my question.


text:
Recover data, photo, & video from a dead water-damaged Android phone
Question
Recover data photo video from a dead water damaged android phone
I have a old android mobile which was kept on table  on which glass of water falled and water entered the mobile as its battery was attached (unremovable battery) inside I couldn't remove it I desambled and unpluged the battery  wire and kept the open mobile for three days in sun and then connected and swtiched on it vibrates with no display.
I went to service center they without looking to it said to change motherboard and cost of motherboard is more then the new mobile then I went to local guyz they said whole mobiles display screen motherboard battery all will be changed and declared it dead damaged after 5-7 hours testing r&d
I had important data in it. I tried to find motherboard of mobile online or any old same model same company old model second hand mobile I founded a old second hand mobile working but following  before buying I have questions in mind

Can I recover the data from damaged mobile if yes how

If same mobile screen or board is available then can the data internal memory be fixed into another mobile

As the mobile is dead and vibrating can we boot into bootloader or through adb commands  can recover from pc connecting mobile. If yes how

How can we get the data from the damaged mobile any how any trick or experts advice

If display screen is changed of damaged mobile then is it possible to recover data

if motherboard of the damaged mobiles is changed and as the storage chip on main board then is it possible to recover data

Additional UPDATED
Just now after 6onths i again unscrewed dissambled the mobile is didn't saw after taking from local engineer now a bad news the battery is swollen and is useless to power charge them it's now working
As the mainboard/ display/battery if bought all new spares will cost is more than mobile cost and heavy I have option to buy another second hand old mobile of same model and try to replace or test my old water damaged mainboard with second hand working mobile phone and test if the data can came out becuase the engineer said display battery and board all have to be replaced ...
I again unscrewd dissambled the mobile is didn't. Heckled after taking from local engineer now a bad news the battery is swalen and is useless to power charge them
As the mainboard display battery if bought all new cost is more than mobile cost and heavy I have option to buy another second hand old mobile of same model and try to replace or test my old water damaged mainboard with second hand working mobile phone and test if the data can came out because the engineer said display battery and board all have to be replaced ...
My question is if I replace swap  the new second hand same.model.mobiles mainboard with my old damaged mobile and if it works fine and if not then is there chance to shot the display or battery or other parts to (if my water damaged mainboard is shorted  damaged) then will it damage the display of new second hand mobiles mainboard to  while testing or will the other mobile work if done carefully

you did right disconnecting battery and dry. userdata can be dumped from SP Flash Tool or QFIL but if it is encrypted dump is useless

@alecx bro it's model is Lyf wind 4s ls-5018 , will sp flash toll or qfil work if it's nit switch on it foving dispaly but vibrating...can data be recover if screen damaged....and what if mainboard damaged to

https://android.stackexchange.com/questions/226838/recovering-data-from-mi-4c-able-to-get-only-to-fastboot

@alecxs brother I updated I checked the phone after posting and unscrewd and saw that battery is drasticlly swallen so no way to powe charge or switch on and no chances to use any other way the local enginner informed me that the mobile is short either display or the wires or battery or board he was not certain after testing r&d now the point is can I get and put the damged board to new second hand phoen and test if it works or will it damage shot  the new set to

EDL mode works without battery. from stock rom extract prog_emmc_firehose_8909.mbn this is the programmer required for QFIL

assume you are running windows, I will give you short instructions how to read data off dead device in EDL mode with QFIL
disconnect battery from phone mainboard, press vol up + vol dn and connect usb-cable
you should see Qualcomm HS-USB QD-Loader 9008 in windows device manager Ports (COM & LPT) section
install Qualcomm HS-USB QD-Loader 9008 drivers
download stock rom and open QFIL
now follow the steps in this tutorial, but instead devinfo you are interested in partition userdata

Select "Flat build"
Select your firehose (prog_emmc_firehose_8909.mbn)
Select tools, partition manager
Click ok
Right click userdata and click on "Manage Partition data"
Click on "Read Data"
Check the logs on the main window, it will show you where it will be saved (Most frequently in the Appdata/Roaming/Qualcomm folder)
Copy the file we read to somewhere like the desktop and make a backup in case it does not work.

now you got the raw dump of your userdata partition. you can mount it with DiskInternals Linux Reader and recover your files from media folder (as long as phone is not encrypted)

If your phone is encrypted you can swap mainboard with working device if eMMC flash storage chip is located on the mainboard itself

bro okay thanx will try all and let u know see if it works


text:
Samsung boot loop after flashing patched Magisk image
My phone keeps showing both the Samsung logos while booting. It also shows the unlocked boot loader screen. I tried flashing the stock boot.img but it only removes the red text when booting. After some time it show a screen that looks like the stock recovery and shows this text:
Try again
Factory data reset
View recovery logs
I tried to do the data reset but that did not fix anything

Does this answer your question? Cryptfs : Unexpected value for crypto key location

assuming you have patched the whole rom AP_[device_model_sw_ver].tar.md5 (not only boot.img) according to install instructions (to avoid discrepancies in several fstabs), start from scratch again.
this time try preserve force encryption in Magisk settings to avoid issues with encryption. after factory reset userdata encryption should work again.
Of course as always don't forget to deactivate VaultKeeper before flashing custom binaries

Also I use Debian Linux so is there a  a method using Heimdall. I also tried Jodin but it just ask to get the pit file and when I press "yes" it Grey's out the start button.


text:
How to Send "Note To Self" to an app /website I can view & edit?
On Android v10 on mobile, I use the Google "note to self".
I'd like those notes to go to an app where I can edit/delete them.
I'll settle for Google Keep, although would be ideal to send to Evernote or Any.Do

Short Answer:
You can send them to Google Keep.
Set a default list service

Let your Google Assistant create and edit lists in a service, like Google Keep.

On your Android phone or tablet, say "Hey Google, open Assistant settings."

Under "All settings," tap Notes & Lists.

Tap a service to set it as your default. Note: I tried any.do  but it new notes didn't got to it (that I could see).

If you don't want to sync your notes and lists with any provider, tap Don't Sync.
To confirm, tap Continue.

Any new lists created with your Google Assistant will be visible on your default list service. Any lists you created with your Google Assistant before you set a default list service won’t be available on that service.

Important: If you choose a third-party provider app as your default, that provider’s app's privacy policy applies.
Source


text:
Can i install windowsphone 8.1 into samsung a10?
I have a samsung a10 device and in my high school years i had a lumia windows phone whose tiles interface seemed to look really cool unlike anything google have ever imagined for their android os, now how do i download a windowsphone 8.1 or windowsphone 10.1 operating system and install on this phone, i have the admin rights to the device after rooting it, thanks...
Is this even possible with this samsung phone?

The chances of this being possible are negligible.

Sorry, Android Enthusiasts is possibly not the right community to ask since they don't have much/any experience with Windows Phone OS. However, there's a similar question on our sister site for Windows Phone experts: Is there any way to install Windows Phone on an Android device? with the answer: no (in addition to Windows Phone is already EoL).

If you want to understand technically why it's not possible, check Is it possible to install Windows, iOS or Linux on Android phone? and How to boot Ubuntu persistent live USB on Android?.

OKay thanks @Irtan Latif

THanks @Andrew T

You are barking up the wrong tree. If you like the tile interface you can simply install an Android launcher app that uses such an UI. In my opinion you should ask on https://softwarerecs.stackexchange.com what the preferred launcher app with Windows 10 tiling UI is. That is something realistic instead of trying to resurrect a dead closed-source OS on devices not built for it.

Windowsphone is still better at the user interface design, i bet even Larry page knows that.


text:
How root android 8.1 gtaxlwifi?
i wanna root my tablet, Samsung Galaxy Tab A. I tried enable bootloader using Adb & fastboot and later twrp and magisk, but i couldnt use Fastboot Commands, even with drivers. So, are there way to unlock bootloader with/without pc?
Note:
I am using Ubuntu at pc
I will be thankfull if u say method :)

https://topjohnwu.github.io/Magisk/install.html#instructions

@alecxs the section header mentioned "If your Samsung device is NOT launched with Android 9.0 or higher, you are reading the wrong section." though.

@AndrewT. this warning is regarding a-only system-as-root with magisk in recovery, but unlocking bootloader and patching AP_*.tar.md5 still applies (I have done it for SM-T555 android 7) reason is fstab might located in vendor and vbmeta needs to be patched

Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.


text:
Prevent Google News from contacting the internet
I have gone to great lengths to get my phone and all applications on it to limit the amount they talk to the internet and otherwise access data on my phone, especially for services I do not care to use.
I have modified settings all over the place, trying to be more restrictive in general.  Things I have done include:

In Privacy -> Permission manager, limited access for each category to only apps that make sense.  Unfortunately, there is no option for internet (wifi and data), unlike a previous phone I had, thus the next item:
Turn off Wifi and Data permissions for individual apps within the NetGuard firewall.
Turn off all permissions within App Info -> {application name}
Disabled background applications

For Google News, I have done all this.  Yet now I am still getting notifications with more recent news events that happened since doing so.
Obviously I can turn off notifications for Google News within App Info -> Google News -> Notification.  However, I am more deeply troubled that the application is still running and getting information from the internet given the measures I have already taken, and may continue to do so even after disabling Notifications.
What have I missed?  Is there some other setting I need to adjust?  Is the firewall ineffective?  Is some other application getting the information on its behalf?  (And if so, is there some way to stop it from doing that for specific apps?)
Phone: Motorola Moto G Stylus
Android 11 with August updates

Possible duplicate of How do certain apps show new notifications when internet access is restricted to them?

Sounds like you don't want to use GNews at all? Why not disable it entirely then?

I would like to.  However, there is no "disable" option on the Settings -> Apps & notifications -> Google News screen; just Open, Uninstall, and Force stop.  I have hit Force stop a number of times, but it doesn't seem to last long.  At this point, I wouldn't even feel confident that the data would cease to be retrieved even if I uninstalled the application.


text:
How to fix apps not knowing their accessibility is enabled on Android Go?
I have an Itel A56 running Android 9 (Go edition) and I decided to install an auto clicker app to help automate some things. I finished downloading the app and it asks me to enable accessibility and I do, but when I go back to the app, it tells me that I have to enable accessibility. I go back to settings and the accessibility is still on for the app.
I thought maybe it was a mistake or something, so I put it off and on again, but the app still tells me I need to enable accessibility. I tried putting it off and on many times, and it still wouldn't work. It's as if the app doesn't know its accessibility is enabled.
What is happening and how to fix it?

Hello. Provide us the link of the app.

Also, could you explain more on which accessibility option and possibly take a screenshot of it? Android Go is known to have fewer features due to memory constraint, so it might be related.

General troubleshooting  : force stop the app, then turn off its accessibility, then open app again and grant accessibility again.
By the way, accessibility issues are known with Android Go editions ; I would suggest you to take this issue to the app developer rather. An email would do it.
Go to play store> that app> scroll down to find contact details

I also use itel A56. It doesn't support auto clickers. The problem is from the phone itself and not the app. I recommend you change your phone because other phones support it.


text:
How to access the download mode of a device with a outdated bootloader?
I accidentally flashed some outdated bootloader firmware and now I cannot seem to access the bootloader I tried holding the vol up + power and both to volume buttons + power but it  made the phone vibrate and reboot.

https://forum.xda-developers.com/showthread.php?t=3573865

SM-A405FN with Exynos chipset? I am not aware of any emergency download mode. Let battery drain for few days. Press and keep holding both Volume buttons when plug in charger.
If you still can't reach download mode, buy JIG dongle (your last hope)


text:
Chronic "ERR_NETWORK_CHANGE" on AT&T Motivate
My Android phone was recognized as a V-Smart Hobson when I activated it. My Google Account also said the same under "My Device". This error has become so chronic, it is part of every single connection now. This is an AT&T Motivate Android phone that I discovered is exclusive to AT&T (it has several odd design features already anyway). But when my 1st Google Account recognized this as a V-Smart Hobson rather than a Motivate, a quick search says a V-Smart Hobson is a hub for TIOT type devices.
My Google account was hacked on 2nd day. So I made a new account, now says this is an unrecognized V-Smart. These chronic errors then began. Also chronic CAPTCHAs. I've several sites denying me access, saying that "Bots not allowed". I found a site that helped me flush my DNS, but when I tried to change to a private DNS, it just goes back to automatic DNS.
IDK, but this is eating data like Pacman dots while I'm connecting and getting nowhere. I have $75 prepay & I'm out of data in 8 days for this 2nd month again.

Sounds like your device is infected with malware. Perform a factory reset and restart with a fresh phone. And this time only install those apps you really need and only from Google Play Store.

I agree. I only have Avast Mobile, a VPN & 2nd Line all thru Play Store but this Prepay DID SWAP SSID WiFi MID-ACTIVATION! The IMEI & ICCID both on the screen & the new number JUST popped up. I had no choice but to allow it to finish activation. I believe it was hacked B4 I even added the 1st Google Account. This whole issue with this prepaid, made me realize TracFone used to give enuf data to activate securely & Providers need to offer prepaid customers the same secure activation a contract customer has. I will take your advice, & see if my warrenty will replace this phone too!


text:
How to force the phone earpiece to be used when an external microphone (headset) is connected?
I want to keep the sound output on the phone, the earpiece or the loudspeaker as it is normally when I connect an external microphone. It's detected as a headset so they're disabled as well as the microphone.
My internal microphone is dead, and I want to use this small jack microphone I have.
Is there an obscure setting, working app, or adb command for this?
I tried a few apps, but none of them worked. "Lesser AudioSwitch" got the closest. The microphone works so does the phone speakers, EXCEPT when I start a phone call, then the microphone input stops working and I'm not heard by the person I called. Which would be the main reason to use the microphone...

Short answer: Unfortunately, you can't do this on Android since android doesn't come with separate mic and sound choices. There might be solutions if your device has root access though

Thanks. I wasn't only interested in plain android settings. I'm willing to try things. Anything particular you know for a rooted phones that might work?

I donr exactly remember but i do recall seeing something similar to what you're asking for like two years ago on my old rooted tablet.


text:
Installing Java and running JAR files on Android 4.4
I want to install and use Java 8 on Android 4.4. Using Termux is not an option because it requires a minimum of Android 5.0. I do have root access.
I tried to install the ARM version of Java using rpm, which worked but it is not usable. When I go to the /bin directory and run ./java -version, it gives me an error ./java: not executable : magic 7F45.
Is there a way to install and run Java on a rooted Android phone, without the use of Termux?

What type of Java application are you trying to execute? A command-line application or one with a GUi? The latter can not work. For a command-line app there might be a way to load the code into an app and run it in Android's Dalvik VM..

@Robert The java application is a command-line application. To be more specific, it is a Minecraft spigot server.

I don't think your phone meets the requirements of Minecraft spigot. For 1-10 players 1GB RAM is recommended. Most Android 4.4 devices had 1GB RAM and less in total. Therefore at run-time a maximum of ~500MB RAM is free.

For CLI apps you can covert the .class files to Android-specific .dex format using Android SDK (search for d8 tool) provided that all Java APIs used in the app are part of Android runtime. Then run Android RT on the device, instead of Java RT. /system/bin/app_process is Android's equivalent to java which forks a new VM from always running Zygote VM.

@Robert I have run a 1.8 server on a debian stretch run on the same device using linux deploy and it ran fine with 2 players(The device became unresponsove cause lack of RAM).


text:
How to get library installation path
Some Android apps require libraries to be linked against by specifying <uses-library> in their Manifest (in the application element):
<uses-library android:name="com.example.customlib" android:required="true" />

It is possible to list the installed libraries on the device by running the following command:
$ adb shell cmd package list libraries                                                                                1 ⨯
library:android.ext.services
library:android.ext.shared
library:android.hidl.base-V1.0-java
library:android.hidl.manager-V1.0-java
library:com.android.future.usb.accessory
library:com.android.location.provider
library:com.android.media.remotedisplay
library:com.google.android.gms
library:com.google.android.trichromelibrary
library:javax.obex
library:org.apache.http.legacy
library:com.example.customlib
...

Where are these libraries installed? Is there a command similar to adb shell pm path com.exaple.packagename that would return the path of com.example.customlib? When I tried pm path, it does not return anything.

Most of the libraries you search can be found in /system/framework
Example output form an Android 10 device:
    3621 2009-01-01 01:00 CustomPropInterface.jar
  193854 2009-01-01 01:00 OPCommonTelephony.jar
   21325 2009-01-01 01:00 am.jar
   13122 2009-01-01 01:00 android.hidl.base-V1.0-java.jar
   31354 2009-01-01 01:00 android.hidl.manager-V1.0-java.jar
   33410 2009-01-01 01:00 android.test.base.jar
   57302 2009-01-01 01:00 android.test.mock.jar
  106118 2009-01-01 01:00 android.test.runner.jar
    5693 2009-01-01 01:00 appwidget.jar
   31002 2009-01-01 01:00 bmgr.jar
    7445 2009-01-01 01:00 bu.jar
    5310 2009-01-01 01:00 com.android.future.usb.accessory.jar
   20050 2009-01-01 01:00 com.android.location.provider.jar
    9230 2009-01-01 01:00 com.android.media.remotedisplay.jar
    2906 2009-01-01 01:00 com.android.mediadrm.signer.jar
    7954 2009-01-01 01:00 com.android.nfc_extras.jar
   19389 2009-01-01 01:00 content.jar
    9193 2009-01-01 01:00 dpm.jar
   99829 2009-01-01 01:00 duraspeed.jar
   38582 2009-01-01 01:00 ethernet-service.jar
 3007999 2009-01-01 01:00 ext.jar
27047266 2009-01-01 01:00 framework.jar
   17217 2009-01-01 01:00 hid.jar
  153906 2009-01-01 01:00 ims-common.jar
   13573 2009-01-01 01:00 input.jar
   54682 2009-01-01 01:00 javax.obex.jar
    3721 2009-01-01 01:00 locksettings.jar
   79905 2009-01-01 01:00 log-handler.jar
   16086 2009-01-01 01:00 media.jar
  114510 2009-01-01 01:00 mediatek-common.jar
   99278 2009-01-01 01:00 mediatek-cta.jar
  189961 2009-01-01 01:00 mediatek-framework-net.jar
  405350 2009-01-01 01:00 mediatek-framework.jar
  107978 2009-01-01 01:00 mediatek-ims-base.jar
   73974 2009-01-01 01:00 mediatek-ims-common.jar
   12061 2009-01-01 01:00 mediatek-ims-extension-plugin.jar
 2506910 2009-01-01 01:00 mediatek-ims-legacy.jar
  483881 2009-01-01 01:00 mediatek-ims-wwop-common.jar
  230333 2009-01-01 01:00 mediatek-services.jar
   49334 2009-01-01 01:00 mediatek-telecom-common.jar
  361002 2009-01-01 01:00 mediatek-telephony-base.jar
 2762490 2009-01-01 01:00 mediatek-telephony-common.jar
 1580981 2009-01-01 01:00 mediatek-wfo-legacy.jar
  114753 2009-01-01 01:00 monkey.jar
    3937 2009-01-01 01:00 mtk-wifi-service.jar
  491074 2009-01-01 01:00 org.apache.http.legacy.jar
   12445 2009-01-01 01:00 requestsync.jar
   10205 2009-01-01 01:00 sm.jar
   13273 2009-01-01 01:00 svc.jar
   13145 2009-01-01 01:00 telecom.jar
 2865674 2009-01-01 01:00 telephony-common.jar
  363793 2009-01-01 01:00 uiautomator.jar
   99817 2009-01-01 01:00 via-plugin.jar
  157682 2009-01-01 01:00 voip-common.jar
    4437 2009-01-01 01:00 vr.jar
 3391985 2009-01-01 01:00 wifi-service.jar


text:
Android phone not displaying SMS sender ID
My Android phone does not show SMS sender ID, for example if one of the friends from my contact list, texts me, my phone will not show the name of the sender (which is saved in my contact list), it just shows the phone numner of the sender.
But when they call me, my phone shows the caller ID name (as saved in my contact list).
Any help fixing this issue will be appreciated.
Thank you

Did you revoke Contacts permission from your default SMS app? Verify that permission in the Settings app. Which SMS app are you using? Did this issue start occurring only recently or has it been the case since the time you bought your phone?

Try clearing the cache of the SMS app //If that doesn't help, change the SMS app to establish of the problem is with app or elsewhere

@Firelod Yes, I did the permissions are given (both SMS and contacts)

GO to settings
Try to find somthing like  Apps/ Application manager / Applications in settings home.
Open it, you'll see a list of apps.
locate your SMS app from that  list
go to permissions and give access to contact permissions

regards.

@ karthik nair Thanks for the response. I already did check the permission as you explained. Permissions are given to the app, but the problem still exists.

I fixed it. In settings, search for Sync (google contact sync), enable it. That will fix the problem.

glad that you fixed.


text:
giving apps permission to drive or gmail
If you give mailsapps or filemanagers on Android (those with a few millions users and likely trustable) access to your gmail-account or google drive, do they in general store these data (mails/files) on their servers as well? Or is it relatively safe to give them this permission?

For GDrive I can't answer your question but for Dropbox I know that there is a authentication mode that allows the app only to access a special app specific subfolders in the apps folder in Dropbox.

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer.

Though this question is relatively incomplete and off-topic, I'll still try to answer it.
Whenever you login with Google on an application, you can find whatever access that specific app/service has over your Google account by visiting accounts.google.com and thus decide whether it's safe for your privacy or not.
Now regarding whether these services can store your data on their servers is upto them and would be explicitly mentioned in the Terms of Serive / Terms and Conditions/ Privacy Policy of that particular app/service
That's it and one thing you should always keep in mind, doesn't matter it's a "free" service from Google or any other company,

"When something is free, you're the product"


text:
Alternative OS for Nokia XR20
Does anyone know any existing OS (other than Android) that works for Nokia Xr20. or if not, is it fairly quick to Port an existing OS for this phone?

Though unfortunately no custom ROMs are available for that device, booting an Android GSI or Generic System Image is a good possibility if you somehow manage to unlock the bootloader of that device.


text:
Is it possible to buy a used Samsung phone with fake/hacked Android ROM that looks like the official one and may spy on you?
I have a used Samsung phone. I wonder if it is possible to have a malicious ROM uploaded that looks like the official one that may allow the hacker to spy on the user. Can I make sure that I have the official ROM? The system updates are downloaded and seems legit. Also I checked Settings -> Device Status that states "official". Is it enough or these information can be forged?

Everything Android OS displays to you may be forged. Therefore you have to go down to those components you can not simply replace or modify. One such component is the bootloader, check what it displays regarding e.g. the state of the bootloader lock.

Thanks for the tip. I rebooted the device to Recovery Menu (volume up + power), then Reboot to Bootloader. After the restart the bottom line shows: DEVICE STATE: locked. As I also investigated, if the device is in the locked state, the installed os is verified, so if something were changed the system wouldn't start. More information is here: https://source.android.com/security/verifiedboot/device-state.

As I wrote the locked state is only one of the values displayed by bootloader. I would recommend to check them all, especially the knox fuse/flag.


text:
SMS text messages on Huawei p smart 2017
How do I recover SMS that have been deleted from my phone? I have phone of brand Huawei p smart 2017.

create backup with HiSuite and examine database for deleted entries https://www.staff.hs-mittweida.de/~pawlaszc/fqlite

Welcome to an international Q&A site, Android Enthusiasts Stack Exchange. Just for info that this site has English-only policy. Using simple English is okay, and the community can improve it later if it's already in English.


text:
What's this N symbol?
What's this N symbol? It shows up in various menus sometimes. And how do I get rid of it?

It means that something has a notification for you, usually (but not always) an update. To get rid of it, tap the control with the 'N' badge, then follow the 'N's down until you reach the screen with the actual notification.


text:
How to fix corrupted IMEI number?
I have a Samsung Galaxy S GT-I9003 running GINGERBREAD.XXKPE. Right now when I type *#06# in the phone app, the popup shows:

(I recreated the image with my paint editor because I didn't want to use my camera. This is still an exact recreation of it.)
How would I put the IMEI back into memory? I have the IMEI from the back of the phone saying: *5**07/0*/9****7/*
I hid some numbers for obvious reasons. How would I put the IMEI back into the machine? Apparently, the IMEI is a 15 digit code but the IEMI on the rear of the phone is in this format: ABCDEF/GH/IJKLMN/O. Could you also rephrase this '15 digit code' to be 15 digits without slashes using letters A-O?

Are you sure this old device is still worth the effort? There are already countries and mobile network providers where it will not get a signal at all as 2G and 3G are already shut down.

Yeah, I'm using this for a second phone and I can't sign in to google because the IEMI was lost.

I don't think the IMEI is the problem. The device is simply EOL, Google announced that those devices will no longer work: https://support.google.com/android/thread/118703101/sign-in-on-android-devices-running-android-2-3-7-or-lower-will-not-be-allowed-starting-september-27?hl=en

Ok, thanks, Robert! Is there a way to update the phone without a sim card? I tried SETTINGS>  ABOUT PHONE> SOFTWARE UPDATE> CHECK FOR UPDATE but it says I need a SIM card.

The SIM card is irrelevant, there are no updates your phone could receive. 2.3 is the highest version it can get by official updates.

try miracle box. i dont know much about it so don't revert to me.

Apparently, the IMEI is a 15 digit code but the IEMI on the rear of the phone is in this format: ABCDEF/GH/IJKLMN/O. Could you also rephrase this '15 digit code' to be 15 digits without slashes using letters A-O?

https://www.wikipedia.org/wiki/International_Mobile_Equipment_Identity#Structure_of_the_IMEI_and_IMEISV_(IMEI_software_version)


text:
Preventing auto expansion of Gmail in the notification?
If I remember it correctly, Gmail used to show only a digest (the title/sender/time) of new e-mails in the system notification, and I had to expand it manually.
I don't know since when it changed but now, but now it seems to be expanded by default. To me, this is very annoying because often I do not want to read the e-mails right away, and when I swipe down to open the system notification menu for other things like stopping music, the big new e-mail notification takes up the entire screen, making it difficult to swipe up to close the system notification menu.
Is there any way to prevent automatic expansion? That is, I want Gmail to show only the digest in the notification, and the full body only when I manually expand the notification.

provide device model and android version for further help

Android version is 11, and probably the phone model does not matter. I can't think of why Google would have decided Gmail act differently in terms of expanding the notification on different phones.

The phone model doesn't matter, true. but can you atlest tell the phone brand so that i understand which android skin it is running? for example Samsung's OneUI or AOSP etc


text:
/system/etc/ld.config.version_identifier.txt not found and how to check for VNDK compliancy
I need to flash using a Generic System Image (GSI) but when I'm checking if my device is  Vendor Native Development Kit (VNDK) complaint as per the documentation here https://developer.android.com/topic/generic-system-image#device-compliance it says

Check for cross-version support by running the following command:
adb shell cat /system/etc/ld.config.version_identifier.txt
| grep -A 20 "[vendor]"

This file doesn't exist on my Google Pixel (1 aka Sailfish) or my Google Pixel 2 XL (taimen).

Instead of the path /system/etc/ld.config.version_identifier.txt
On Google Pixel 1 (Sailfish) use /system/etc/ld.config.vndk_lite.txt - this probably will work for other devices on Android 10 and below.
Android 11 including (Google Pixel 2 XL (taimen)) use /linkerconfig/ld.config.txt instead as per https://source.android.com/devices/architecture/vndk/linker-namespace


text:
dm-verity corruption after slot switching Android 11
I tried to create a service for slot switching in Android 11. I have used the API from Bootctrl HAL to check the other slot availability and valid image in it. I have updated both the slots a and b with same image, then the service was successfully switched between different slots. With different images in slot a and slot b it is failing. After the slot switching, getting dm verity corruption and log is as below
[ 4.383505] device-mapper: verity: sha1 using implementation "sha1-ce"
[ 4.394599] device-mapper: verity-fec: 252:0: FEC: recursion too deep
[ 4.401091] device-mapper: verity: 252:0: metadata block 542471 is corrupted
[ 4.408301] kvm: exiting hardware virtualization

Device is continuously rebooting after slot update. Could anyone please help me to resolve this?


text:
Does work profile installations double the space taken by apps?
Our EMM configuration installs a separate Chrome instance in the user's work profile.  One user has concerns that this takes unnecessary space from their device.
If the same app (e.g. Chrome) is installed in user-space and inside a work profile, does the installation take double the space, or is the same installation used for both profiles?

Not exactly. Only data is duplicated, not the executable code. See Where Android apps store data?.

If the duplicated app is a system app (e.g., mostly chrome ships as a system app), no double space would be used except for the duplicate app's data.
Incase of third party apps too, most of them doesn't double space in work-profile for app installation (ofcourse except data) but incase the rhird-party app comes with separate graphics or other kind or files stored as obb, some extra space will be taken for installation. (eg games or designing apps)


text:
Conditions for triggering "pin required for additional security“
As in title, what are the conditions? (fingerprint isn't enough to unlock the device, one needs to enter PIN. I am not talking about the requirement after a re-boot)
I can't seem to discern a pattern, on some days I get this security warning at least 3 times, and on some days never or maybe once, while the usage pattern seems to be similar.
Pixel 4a, Android 11

Time should be one factor, but I could imagine that the recognized fingerprint accuracy is also considered.

That code should be located in the Gatekeeper component that runs in the Trusted Execution Environment (TEE) of the ARM CPU.

I am not sure in what form AOSP contains the gatekeeper code. I would assume that it is present as signed binary blob for TEE execution but my guess is that the source code is also available. But I have never worked with code of Android that runs in TEE.

Ugh, I got lost when trying to browse the source code because it branches to too many classes, and yet I haven't reached the conclusion. At the very least, I found a maximum of 72 hours (3 days) for the timeout, but that's only the tip of the iceberg...

This is triggered by fallback timeout as stated by Andrew T. Android enforces tiered authentication model backed by Trusted Execution Environment (TEE) to authenticate the user. Primary tier authentication is your screen lock code which has the highest level of security and is cryptographically bound to storage encryption. Secondary tier is biometrics and tertiary tier is Smart Lock's Trusted Devices that are only available when the device is in After First Unlock (AFU) state.
After every 72 hours or 3 consecutive failed biometric authentication (whichever happens first), TEE falls back to screen lock code if the biometric sensor is a Class 3 biometric (formerly Strong). For Class 2 (formerly Weak) and Class 1 (formerly Convenience) biometric sensors, fallback timeout is even smaller, with reduced security features and with idle timeout constraint. Tertiary tier authentication has the smallest.

Smart Lock's Trusted Devices cannot unlock the device. They keep the device unlocked for maximum of 4 hours. That is after 4 hours, the device will prompt you to use either screen lock code or biometrics which then resets the timer for smart lock.
You can also manually trigger fallback to screen lock code using lockdown option in power menu (enable it in settings) that temporarily disables Smart Lock, biometrics and notifications on the lock screen until next unlock.
Note that these features including lockdown mode (in both android & iOS) do not increase your data security. They only make it harder for the attacker to spoof weaker lock mechanisms within a time limit. For example, cloning your fingerprint and 3D printing your face have to be done within 72 hours (or 24 hours) from the time of last primary tier authentication. For these features to work, your device should be already in after first unlock state. In this state, the encryption keys that decrypt your storage are already in alive state. By using custom engineered forensic tools and OS kernel level exploits, your data can still be decrypted without unlocking your screen.
While such attacks are even harder than spoofing biometrics, they are not impossible.  Spyware agencies have been decrypting data of seized devices from long time because most of the time the devices they get are in AFU state. The safest state (but not immune) for the device to be in is Before First Unlock (BFU) state in which TEE awaits for primary tier authentication to release encryption keys so the attack vector is shifted on exploiting weaknesses in TEE which further increases the difficulty to compromise data.

Lockscreen and authentication improvements in Android 11
Measuring Biometric Unlock Security
After First Unlock: Device has been unlocked once since last reboot.
Before First Unlock: Device has not been unlocked once since last reboot.

I misunderstood earlier but on reading the linked documents again, I am still not sure why can't seem to discern a pattern, on some days I get this security warning at least 3 times, and on some days never or maybe once, while the usage pattern seems to be similar

Have you tried Pixel fingerprint calibration tool?

If you are talking about this, it is for Pixel 6 under the screen scanner. Never heard of it and this is what search says. //https://www.google.com/amp/s/m.gsmarena.com/google_quietly_releases_a_fingerprint_calibration_tool_for_the_pixel_6_that_should_help_with_repairs-amp-51688.php// did you mean something else? //edit :Broken link //https://www.google.com/amp/s/m.gsmarena.com/google_quietly_releases_a_fingerprint_calibration_tool_for_the_pixel_6_that_should_help_with_repairs-amp-51688.php

I'm not able to reproduce it. You should keep the question unanswered so that someone else might document and answer the behaviour. In your case, It doesn't seem like routine fallback.

I was probably on a custom kernel then.. Is it possible that the kernel would cause this? //I am thinking on these lines because after updating to 12 and on stock kernel, I don't see that kind of behavior //Aside, is the sensor class 3?I spent a lot of time searching on the net but couldn't get an answer. Any idea?

It could be a problem with BiometricManager. I cannot confirm the cause without reproducing it.

In Pixel and mostly flagships in general, they come with class 3 biometrics.

Is it possible to disable this "nice" feature? On rooted phones or custom ROMs? I am using LineageOS. Maybe any change in developer options? I need to disable Fallback Timeout, asking on reboot is normal case.


text:
Cannot install/replace Android OS on Samsung S3
I have a corrupt version of Android on my S3 phone: WiFi signal is 100% but almost zero internet connection.
So I found a binary: S968CUDUAMH1_S968CTFNAMH1_S968CUDUAMH1_HOME.tar.md5 which is good(?) for my S3.

ODIN Report

I completely uninstalled everything relevant and reinstalled without errors or anomalies in Device Manager.
But am still in the same place. ADB sees phone connected but will not program so I'm missing something somewhere.
@alexcx suggested ODIN requires download mode. Please explain. I also looked at your XDA link but that seems to require Internet connection which I don't (nearly, see below) have.
Your link to lost internet on Android 4 or lower, I'm afraid, won't help since again I don't have internet access.
Your comment that you're pretty sure I have internet access may be [just] partially true.  Note my router connection is five bars but internet connection may be just one, hard to be sure, since I can intermittently connect to google but 99.9% of the connections time out.
So I'm assuming it's an OS issue so rooting and replacing OS just might resolve it.
Ah! @alexcs, your final comment led me to load ODIN and check the fist step when I should see (first) ID:COM with something like 0:[COM6] underneath but I don't.. see my pic.
Also no <ID:0/006> Added! in the Log.
So if ADB can see my phone why can't ODIN?  I have AFAIK have Samsung drivers loaded with no errors in DM.

Devices with yellow exclamation mark in device manager are usually not usable e.g. because of missing/wrong driver. You need to fix that first.

Does this answer your question? Why do apps stop supporting older Android versions after some time?

Possibly related: How can I get back lost internet access on Android 4.x or lower?

Does this answer your question? What are possible consequences of not installing updates

Does this answer your question? If I buy the cheapest possible Android smartphone today, how long can I keep it without having to buy a new one?

https://androidmtk.com/flash-samsung-stock-rom-using-odin

Edited my original post. Please see.

btw you didn't mention that you factory reset the device. a factory reset has same effect as flashing stock ROM, it is the first thing you should try. you only mention wifi, but what about mobile data?

The file you point is hash of the original file. You should find the file w/o .md5 extention

I think @alecxs inferred the actual problem. A faulty modem. A pretty brick :~((

@RomeoNinov tar.md5 file is fine. it is a tarball archive, not a hash. That's how samsung provides firmware


text:
How do rndis0 and eth0 interfaces get set up?
In a normal installation, looking at ifconfig (or ip) in adb shell, there are no rndis0 or eth0 interfaces set up. Once USB tethering or ethernet tethering is enabled, they show up.
With my GNU/Linux hat on, I thought there is some module loading and udev happening in the background, but clearly, that's not the case.
Can anyone explain what is happening in the background and how can this be replicated via shell commands?

Thoroughly explained in How to make Ethernet work on Android over OTG?.

Thanks @IrfanLatif , looks good at first glance, will dive into it soon.

Does this answer your question? How to make Ethernet work on Android over OTG?

@IrfanLatif got a bit lost in the translation there. I am not sure that applies to Android 11 (AOSP/ArrowOS), for example I can't create a /system/etc/init/custom.rc due to read-only file system. On short term, do you know the quick command to enable ethernet tethering? I found the one for usb (svc usb setFunctions rndis), but I need to use the Android 11 newly introduced ethernet tethering.

Go system-less using something like Magisk modules. // No I'm not aware of quick command. Sorry.


text:
Unbrick Samsung A40 not going into download mode
I accidentally installed an outdated bootloader to my device and I cannot seem to access the download mode I also tried to access the recovery and I tried letting the device run out of battery by holding down the power button for a long time. And then connecting the phone to the computer while holding both the volume and power buttons. It only shows the circle with a lightning bolt in it. It also shows a cyan box with red text reading " rev. check fail. Device: 4 binary: 2 (otb)

Does this answer your question? How to access the download mode of a device with a outdated bootloader?

@alecxs No it does not.

Since download mode isn't accessible, taking it to the service center is the only way to unbrick it.


text:
Keep WiFi running when screen is off and phone is locked (streaming with black screen, battery saving, newpipe, podcasts)
How do I keep my WiFi running when my phone's screen is off and locked?
Facts:

The biggest battery drain is my screen usage
WiFi uses your battery, but not nearly as badly as the screen
I use my phone to stream audio
I intentionally turn off my phone's screen to save my phone's battery
If I'm playing a local file that I previously downloaded, then I have no issues with the audio stopping when my screen is off.
If I'm streaming audio, then sometime after I turn off my phone's screen, the audio streaming stops (I guess after it locks and the the stream buffer is empty)
Immediately after I wake my screen, the audio stream resumes. Unlocking the phone is not necessary to resume the audio stream.

I assume, therefore, that my phone is disabling my WiFi sometime after my handset's screen is turned off.
I am running LineageOS 18 (Android 11).
How do I prevent my android device from disabling my WiFi when the screen is off?

Have you tried to disable battery optimization for the used streaming app? Is your screen LCD or OLED? For LCD reducing the brightness to a minimum can be a workaround (but restoring brightness can get a little difficult depending on the environment brightness). For OLED try to use an app that shows a black screen only and that keeps the phone awake.

see also https://stackoverflow.com/questions/50115053/is-it-possible-to-completely-disable-the-doze-mode-and-standby-mode

I know of no way to disable doze as the admin of the OS (Android) itself

https://stackoverflow.com/questions/50115053/is-it-possible-to-completely-disable-the-doze-mode-and-standby-mode

(but please comment on this if there's some way to do it with Xposed or similar)
From the app (developer) itself
The Google documentation on MediaPlayer specifically tell developers to use WifiLock to prevent wifi from being disabled if the app streams media

If you are streaming media over the network and you are using Wi-Fi, you probably want to hold a WifiLock as well, which you must acquire and release manually.

source: https://developer.android.com/guide/topics/media/mediaplayer
The Google documentation on WifiLock can be found here:

https://developer.android.com/reference/android/net/wifi/WifiManager.WifiLock

Battery Optimization
You can disalbe "Battery Optimization" on a per-app basis by going to your Android Settings -> Apps & notifications -> Special app access -> Battery optimization.
From the drop-down at the top, choose All apps
Scroll-down to the app that you're having issues with. Click it, and choose Don't optimize
Intermediary (eg network stack) apps
In my case I found that the issue was actually not the app itself, but an intermediary network app that wasn't doing the WifiLock. In my case it was the OpenVPN for Android app.
The solution was to open OpenVPN for Android, go to Settings and uncheck Pause  VPN connection after screen off
Now my audio stream doesn't cut-off shortly after the screen locks.

To accomplish what you want, you can install the app Fake Standby.  It is a free open-source application.
Fake Standby will turn off your screen while keeping apps running.  This will allow you to listen to audio (podcasts, for example) without draining your battery so much.
I've used it many times, and it has worked well for me.

Technically, this app uses black, full-screen overlay, which is what Robert suggested in the comment.

Does this prevent your phone from locking? For security reasons, I do not want to use an app that is going to prevent my screen from locking. And also, I see a lot of unnecessary risk in allowing an app to draw over other apps (though I do appreciate that it's open source).

Head away to the battery section in Lineage OS settings and disable power manager.
If that doesn't work, something is wrong either with your vendor or the kernel.
Also keep in mind that while asking device specific questions, it's highly recommended to include basic information such as your device model, vendor info (ie using stock vendor or not etc), state of boot image etc. If not everything, atleast provide the device model


text:
Decrypt Android FDE /data partition with lost locksettings.db
So let's assume I am on Android 9 and have the encrypted FDE /data partition and the full /system partition - except for locksettings.db. I also know the pass code used to decrypt/unlock the device after rebooting. On a fresh installation it looks like the database only contains the identifier of the key but the key seems to be located in a file within the /system partition, which is intact.
Now my question is: Is there any way to decrypt the partition or reconstruct the locksettings.db file? I would be very grateful for any help with the issue.
Thank you!

It booted, unlocked without a code, but displayed the "Phone is starting up..." message it usually shows for a few seconds when decrypting - forever.

Does this answer your question? How exactly does FBE's key derivation work?

OnePlus 5T is running FBE file-based encryption, below answer does not apply

There is no way to decrypt userdata partition offline. Android encryption is hardware-backed with RSA-2048 masterkey in TEE that is burned to chip. Furthermore encryption is bonded to
VENDOR_PATCH_LEVEL
BOOT_PATCH_LEVEL
OS_PATCH_LEVEL
OS_VERSION

and
bootloader state
to ensure rollback protection and tamper protection.
If your bootloader is already unlocked, crypto-footer is present in EFS/metadata and userdata is encrypted with "default_password" it is possible to decrypt from custom recovery TWRP without locksettings.db at all (except Samsung)

That is interesting information I didn't see before. I will try reproducing the exact same environment (firmware, ROM etc.) and see if I'm successful in decrypting the partition without locksettings.db. I'm using a OnePlus 5T, so maybe there was another issue last time I tried.

Just to clarify, if I don't have the exact OS version and patch I had when I set up the encryption, it won't be able to decrypt?

no, only on same or higher patch level


text:
Playing audio through phone call speaker
Is there a newer method of routing audio to the phone call speaker (the speaker that you put your ear to)? This suggests using Earpiece, but the app does not appear to work on Android 11 and up and hasn't been updated since 2015. Any suggestions?


text:
How and where do I access my S Notes on Samsung Galaxy Note 8?
I have ~1400 S-Notes that use ~40 GB of internal memory on my Samsung Galaxy Note 8. Where are the S-Note files located? How do I access them directly? Is there a way the enable access to the S-Note files? Are there any tools that give access to all files on the phone?
SmartSwitch doesn't have enough room to back them up anymore (needs 23 GB of internal memory only apparently).

I've tried finding them using the Android Studio Device File Explorer on the Note 8, but can't find the files. On Samsung Galaxy Note 2, they were located at /storage/emulated/0/S Note. This directory on the Note 8 has only one small text file.
I've also made backups using ADB (adb backup -apk -obb -system -shared -all -f F:\samsung\note8\2021_09_06_backup.ab), but the backup does not seem to contain the S-Note files. It also does not backup everything maybe due to lack of space.
An ADB pull (adb pull /data/data/com.samsung.android.app.notes F:\samsung\note8\ and adb pull "/storage/emulated/0/S Note" F:\samsung\note8\) of that directory only returned the small text file.

With only 500 MB of free internal space left, I've resorted to having to delete old notes now! The S-Note trash holds onto the deleted files for 15 days before actually deleting them but gives the file space back somehow.
I don't understand why I have to work so hard to access my S-Notes files. It's hard to use the S Note files on my Windows computers now after an S-Note upgrade that changed the file format.

Does this answer your question? Can I access the Memo data without rooting?

Does this answer your question? Can I access the Memo data without rooting?


text:
Android WIFI connected without internet
I have Galaxy s20 with android 11. I am connecting at work to WIFI which require to login using a browser. After that unless admin do not change the password mobile connecting automatically without any problems.
After several hours(2-3 usually) of smooth working connection I start having a problem - like connected without internet, or it become very very slow that browser will not load any page.
Here is what I did so far

checked other users and no one has this problem which means
router and internet is OK.
switch off and on WIFI several times no succuseed.
turned off/on the the mobile no succeed
Forget WIFI which worked first time only- then forget stopped working
and it keep connecting again without asking for password.
I have search on the internet and tried all possible solution nothing
works.
Any one have idea how to solve this problem.

I would first disable privacy setting for that WiFi (use real MAC address). Second disable Private DNS for all networks as this could prevent you from reaching the captive portal.

you must visit the url of captive portal manually by typing in address bar of your browser


text:
How can I unlock/root the Vivo Z1?
I have enabled developer options, enabled USB debugging and unlocked bootloader (OEM unlocking).
fastboot flashing get_unlock_ability
(bootloader) get_unlock_ability: 1
OKAY [ 0.000s]
Finished. Total Time: 0.000s

My phone is vivo Z1, its CPU is Snapdragon 660 AIE with Android 9 OS, security patch level 2021-02-01, it is system-as-root and has no ramdisk.
I am unable to unlock the bootloader:
PS C:\ProgramData\Android\SDK\platform-tools> .\fastboot oem unlock
FAILED (remote: 'unknown command')
fastboot: error: Command failed
PS C:\ProgramData\Android\SDK\platform-tools> .\fastboot flashing unlock
FAILED (remote: 'unknown command')
fastboot: error: Command failed

I have installed vivofastboot and vivofastboot_v2, and updated the dlls source
vivofastboot
vivo_fastboot bbk unlock_vivo
...
FAILED (remote: unlock fail.)
finished. total time: 0.000s

vivofastboot_v2
vivo_fastboot vivo_bsp unlock_vivo
...
FAILED (remote: check Signature Fail)
finished. total time: 0.000s

How can I unlock/root the Vivo Z1?

Archived comments in the chat room. It'd be great if the troubleshooting part can continue inside the chat until the final clean solution is achieved.

Does this answer your question? Is it possible to backup data from a locked android phone?


text:
Create and edit a bash script in an USB connected smartphone
The question explains it all. I am using Ubuntu 20.04 LTS. I have connected an android smartphone to pc using USB. Changed directory to internal storage using:
cd /run/user/*/gvfs/*/'Internal Shared Storage'

And now I wanna create a bash script. Did this:
touch test.sh

But it says:
touch: setting times of 'test.sh': Operation not supported

But if I 'ls' again, I see 'test.sh' actually got created. So whatever, I do this to edit 'test.sh' using vim:
vim test.sh

But got this:
cannot open path of the current working directory: Permission denied

Doing sudo outputs the same error. Is it possible to do what I am trying to do?
Android version is 8.

Cross-posted from Ubuntu.SE: https://askubuntu.com/q/1363757/331791

If you access your phone via Ubuntu/MTP then editing is not directly possible. There may be an emulation for file editing (download file from device to temp file, wait for the editor to be closed and re-upload the file to the device). As MTP is not a very stable protocol I would not recommend to use it. If you want to edit a file on-device better enable adb and used adb shell for your commands.

@Robert thanks for your reply. Another question. What if I have a pre-written bash script and I just copy it in the connected device and run it? I would get the same permission error right? How would I overcome that?

On Android there is no bash and the number of common Linux commands is also reduced. But a shell script should work. Note that the internal storage on Android is mounted with noexec option.

@Robert Thank you!


text:
Go into main screen directly
Good day!
ColorOS version V6.1.2,
Android version 9
The problem I am facing is: when the screen on, it shows a cover page, I need to swipe up once, then it enters the main screen. (there's no password setup for the screen on.)
How can I make it goes into the main screen, once the power button is on (without any screen protector or cover etc)?
Thank you!

Sounds like on your device is "Swipe to unlock" activated. I am not familiar with ColorOS - on regular Android devices you could change this in Android Settings -> Security -> Screen lock.

@Robert, thank you for the comment. But seems it's different and there's no "Screen lock" in Security...


text:
google drive backup and restore restore one app
I have a OnePlus 6t and factory reset it a few days ago because it was really slow (btw the problem is still not solved, also my fingerprint sensor doesn't work anymore, may be linked). I did my backup locally (only sms and photos) and on the Google Drive service (everything saved there, always enabled and saves everything).
My problem is that I had more than 2000 solves of my time solving the cube, I always tracked my progress. I can't anymore because I lost the data as it was not saved locally. I don't want the data of the other apps, I would like to get only the data from this app, the name of the app is twisty timer.
I tried to use adb and bmgr, but I can't manage to make it work. I do not find the package name, it seems to be com.aricneto.twistytimer... And when I try to restore from the old save nothing works, and it says in logcat
PM agent has not metadata
And in the shell console, restoredFinished -1000. I don't know what to do and how to do. Can somebody help me ?
I tried to so the same with other apps, there are two backups (of the same phone), one before reset, one after. I manage to restore from the new backup files, but not from the old ones. I don't know if there is a much simpler solution. I can see the app exist in Google Drive in the app in the old backup, but I can't do anything with it.
Found this great resource on the famous internet
edit : Here are the screens of what I mean
A few tries with bmgr :
https://snipboard.io/nfiaMe.jpg
All the sets in bmgr (old and new saves)
https://snipboard.io/4qeJWD.jpg
The Google Drive app on my phone showing the app (twisty timer)
https://snipboard.io/5J1UcY.jpg
Thanks in advance

Please don't paste terminal output in screen shots. Just copy and paste the text into your question and format it as "code".


text:
IBM website zoomed in too far in various browsers
Android 11; Samsung Galaxy A20 (SM-S205G)

I've had a long-standing problem on my Android phone with IBM Community forum websites.
Forum postings like this one are zoomed in too far. I can't read the text on either side of the page (portrait or landscape).
I have the same problem in all browsers that I've tried. I've tried pinching out the screen to zoom out, but that doesn't do anything. It stays at the same zoom level.

Samsung Internet 15.0.2.47
Firefox 92.1.1
Chrome 93.0.4577.62

My uneducated guess would be that the page isn't handling responsive design properly. I've reported the problem to IBM. But they don't seem to be interested in fixing it.
I don't have this problem with any other websites on my Android phone. For example, there are even other IBM forums that don't have this problem. But unfortunately, I don't use those specific forums.

I've had some luck solving the issue on a different device: Safari/iPad (7th gen; 17.7.1).
In Safari, there is an option where I can zoom out at a set percentage (85%).

That works well. There's a tiny bit of cutoff at the righthand side. But I can live with that.

Question:
To compensate for the problem with the IBM website on my phone, is there a way for me to change the zoom level in an Android browser app? (just like I did with Safari?)
So far, I haven't found a setting like that in Samsung Internet, Firefox, or Chrome. I'm open to installing a different browser on my phone if needed.

Since you are open to trying other browsers, install Opera and open the site in it. Next, tap on the  symbol with letter A (circled in screen shot below) and the content is rendered legibly in Reader Mode

If you are comfortable viewing in desktop mode, that also works.
Edit: If you want to use Chrome and are fine with Safari like experience, from Settings → Accessibility → Text scaling adjust the slider to increase/decrease font size and view the site in desktop mode. The last word of every sentence is clipped though.


text:
Debug the full output of QR code reader?
In my Android device, I use app "A" to scan a static QR code and the app will show the result.
If I use a regular QR code reader app, the QR code will show as: "checkin:XXXstaticID"
Is it possible to know the full execution command of app "A", so I can just execute that command or open the URL without have to scan the QR code?
Thanks

AFAIK, there's no other way than reverse engineering app A to know the logic.

@AndrewT. I thought we could capture the activities from app A like using sysinternal procmon on Windows. Ok I will try the hardest way. hope it is not obfuscated.


text:
How to change my "channels & interests" on an Android phone?
I have an Android phone and get some news based on my "channels & interests" when I swipe from the main Home Screen to the left. How can I add a new topic to these "channels & interests"?
I found this site which does not really help. In Step 2: Choose what updates you get it does not explain how to add a new topic. I only can view some list I can choose from.
Is there any way to really implicitly, directly and clearly add a new topic to that list?

Unfortunately, it isn't possible as mentioned in Google forums (incidentally, three days ago). A workaround was also suggested

.... there is no manual way so no way to write in an actual topic to that channel & interest area. If you look up machine learning or AI enough it might then start to show in that area. Something else I would recommend you do is anytime you find a card in Google Discover that you would want to go back to at some point, click on the heart symbol which means like and then you can find it at https://www.google.com/search/contributions/reactions

(Emphasis supplied)


text:
"Neither user 2000 nor current process has android.permission.GRANT_RUNTIME_PERMISSIONS" when using `adb shell pm grant` command
I have installed a clipboard manager, Clip Stack on my Android 11 phone. When the app is opened, the developer helpfully gives the message that background clipboard access has been blocked by Android 10 but he has found a workaround and to run the following ADB commands:

adb -d shell appops set com.catchingnow.tinyclipboardmanager SYSTEM_ALERT_WINDOW allow;
adb -d shell pm grant com.catchingnow.tinyclipboardmanager android.permission.READ_LOGS;
adb shell am force-stop com.catchingnow.tinyclipboardmanager;

I don't want to install Android Studio. I tried the following:

Enabled Developer Options on my phone and turned on USB debugging and Allow screen overlaps on settings
On my computer installed minimal_adb_fastboot_v1.4.3
Connected my phone to my computer via usb
Clicked on the desktop shortcut for Minimal ADB and Fastboot to open a cmd window
Ran adb -d shell appops set com.catchingnow.tinyclipboardmanager SYSTEM_ALERT_WINDOW allow; The daemon started.
Ran adb -d shell pm grant com.catchingnow.tinyclipboardmanager android.permission.READ_LOGS; It gave error:

Exception occurred while executing 'grant':
java.lang.SecurityException: grantRuntimePermission: Neither user 2000 nor current process has android.permission.GRANT_RUNTIME_PERMISSIONS.
        at android.app.ContextImpl.enforce(ContextImpl.java:2028)
        at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:2056)
        at com.android.server.pm.permission.PermissionManagerService.grantRuntimePermissionInternal(PermissionManagerService.java:1463)
        at com.android.server.pm.permission.PermissionManagerService.grantRuntimePermission(PermissionManagerService.java:1444)
        at com.android.server.pm.PackageManagerShellCommand.runGrantRevokePermission(PackageManagerShellCommand.java:2300)
        at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:251)
        at android.os.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:98)
        at android.os.ShellCommand.exec(ShellCommand.java:44)
        at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:22307)
        at android.os.Binder.shellCommand(Binder.java:929)
        at android.os.Binder.onTransact(Binder.java:813)
        at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4687)
        at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4471)
        at android.os.Binder.execTransactInternal(Binder.java:1159)
        at android.os.Binder.execTransact(Binder.java:1123)

How can I proceed?

Regarding the error you're getting, was the workaround written in context to your exact model device?  AFAIK the OEM can intervene with permission configurations so these types of workarounds usually are not one-size-fits-all.  There used to be a method of "borrowing" a different user to grant permissions (like on some...

...versions of FireOS, where you can "use" Facebook's user to disable OEM apps).  You might want to try XDA as well, under your device's board/thread.

workaround for android 10, you have android 11

I see a similar problem with Logcat Reader that worked with Android 8.0, but now fails (on another device) with Android 12. Seems Android 12 does not allow that anymore, or is there an additional setting needed?

See also https://forum.xda-developers.com/t/unable-to-grant-permissions-using-adb.3812658/

For Oppos Color OS 12.1 (Android 12) this worked for me:
I disabled the option (sorry: it's German): "Über USB installierte Apps prüfen" (probably "Check apps installed via USB"):

After that the command adb shell pm grant com.dp.logcatapp android.permission.READ_LOGS succeeded.
Before I got:

java.lang.SecurityException: grantRuntimePermission: Neither user 2000 nor current process has android.permission.GRANT_RUNTIME_PERMISSIONS.


text:
Android x86 isn't working in virtualbox
I have installed android x86 in virtualbox. But its not booting now.
After installation it pop up a message "Android x86 installed successfully". Then I power off the vm and remove the iso image from it and then power on. When booting the os it only shows this. (This display has been there for 1 hour.)

Make sure you are using the 64bit version, according to a lot of post here over the years, this error is common to Android-x86 and occurs more often in the 32bit version. Besides that I assume that VirtualBox graphics system is simply not supported by Android-x86. Keep in mind that it is a non-commercial community project.

@Robert I have used 64bit

What is your CPU and GPU model ? Old CPU doesn't support SSE commands and doesn't run new version of android-x86.


text:
Mysterious grey rectangles on notification panel
Got a new Nokia 5.4 that has just recently been updated to Android 11 with no 3rd-party apps installed except Kaspersky. However, I've been noticing a rather strange behaviour where there seems to be an almost invisible app running in the background. Dragging down the notifications (one level down, not all the way) and there seems to be some sort of app/icon when I tap the area.
Attached are screenshots so it's clearer.

Run a virus scan but nothing shows up. Whatever it is, it seems to have been on the phone before unboxing and first boot.
To clarify, this behavior has been there even before I installed anything on the phone. Spoke to Nokia support and they said it's not something they're aware of and suggested I report it as a bug. I've asked this question in Nokia's community forum to see if it's something that's present on all Nokia 5.4 models.
Wanted to get more thoughts if this is some spyware on the phone, which I highly suspect it is, and how do I remove it.
Any idea what it is? Is this some embedded spyware?

Let me summarize: you have no indication that this is actually spyware - all you have that it looks strange. You have the statement from Nokia that it is not spyware and you should report it is a bug. The AV you've tried does not find anything either. Yet you still believe this spyware - still only because it looks strange. Why should spyware look strange in the first place?

That's right, it does seem strange, and this has been present on the phone since Android 10 before the Android 11 update. Spoke to Nokia customer support and they didn't say it wasn't spyware. They just said they don't know what it is, and that it isn't typical behaviour. Hence, why I suspect it's spyware. Might just be a bug, but I've been facing persistent intrusions into my system both on my desktop and phones this past few months, which is why I'm more suspicious of this.

@robert The OP mentions that the behavior has already been observed prior to unboxing and a software update, so this is likely not the issue. Has anyone else faced the same issue on the same model or another Android device? Could be a poorly executed RAT or a frame draw issue if it's just a software bug.

I recommend you a factory reset

It's more of a bug with Notification UI than a spyware.


text:
Inspecting firmware integrity on Android
How do I inspect the integrity of the firmware on my Android device? For instance, if a Remote Access Trojan is present, what steps should I take to detect and remove them?

Perform a factory reset and reinstall a full factory firmware image. That is the best option to make sure everything malicious is deleted.

some devices have option firmware integrity check in recovery menu, it will reveal at least system modifications. if integrity is intact a factory reset will remove possible malicious apps. remote access usually is granted by user, change your google account and password, revoke all device administators in settings, create new WhatsApp account, etc

Thank you for the suggestions. My device, a Nokia 5.4 does not seem to have any options for checking firmware integrity. I can only see that the firmware version is the correct version as the one showed on the Nokia update tracker site - https://www.nokia.com/phones/en_int/security-updates. How do I obtain the factory firmware image?

That device is shipped with Android 10 and has unbreakable boot chain of trust. It can therefore considered as safe. Just do factory reset to be sure no user installed apps can harm, no need for firmware reinstall

@alexcs Thank you for that. I also want to check if Android 11 is vulnerable to the Pegasus malware? I'm aware that it targets both Android and iOS, but have only seen news about iOS so far. I understand this is because it's harder to detect Pegasus infections on Android. However, Apple just issued a patch for iOS, is a patch available for Android devices?