text:
High ping in emulator
I want to play mlbb on pc android emulator since it does not run on android x86. I have 70~90 ping on my network. But i am getting more than 150 in emulator. I tried switching netork mode and used bluestac and nox. But no difference. Why is my emulator ping high?
Pc:
Cpu=core i3 6100
Gpu=gtx 1050 ti
ram=4gb(8gb page)

Have you checked the CPU usage while playing? Your CPU is a five years old dual core, torturing it with an ARM emulator does not make it better. Even on a recent very fast CPU an ARM emulator is typically slower than a middle class real phone.

But the game runs smooth

An emulator uses a virtual network, this means that the CPU has to process each sent/received packet multiple time (one time for each virtual component). If the CPU is highly utilized the time increases before each packet can be processed. Hence the latency increases. However because of all the involved virtual network components the latency always increases compared to a native network access. But having a slow CPU additionally increases the latency.


text:
Why does GBoard have inconsistent "space to use autocorrect"?
My GBoard is having so many issues with how it autocorrects next work suggestions.
Generally if I hit space bar it automatically inserts the suggested word from the suggested word row above the keyboard.
But then for seemingly no reason it does not do it for some words.
For instance: brain.
If I type "brakn" ... And hit space... Hit inserts "brain", which is what I want!
But if I type "braim"... And hit space... It does NOT insert "brain" even though it is the suggested word... It just keeps braim and underlines it to show it is spelled incorrectly.
It's driving me insane.
I have cleared my cache and installed / uninstalled.
Why doesn't space bar ALWAYS insert the recommended word, it only happens some of the time.

Try open Gboard open its setting>correction>auto correct turn it off and also turn of spell check maybe it helps

source: Stack Exchange

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

sort: votes


text:
Transfer paid app to Huawei device
I've purchased VerbTeX Pro for my Android tablet and recently I upgraded to the MatePad Pro. I'm wondering is there any way to extract the APK and install it on the MatePad without installing GMS?

In general, when you purchase an app through the Play Store, it is tied to your Google account and not a specific device or installation. The APK files for a paid vs free version are generally also the same and they are just enabled on the Google account. If you paid for the app and installed it on a new device and it doesn't have the paid features, look in the settings of the app for "Enable paid features" or something like that, otherwise message the developer.

why not ask Trump directly

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


text:
Android Boot Logs Before Logo
BTW, I am wanting to know what Android Boot Logs come before the Android Boot Logo. I see an Android Boot Logo, and I have to hold the power button, but what does it show in the boot logs in the background before the Android Boot Logo?
NOTE: I think I could use the command line to see the last startup log, what command could I use?

What's the actual problem you are trying to solve by taking logs? Boot logo is usually shown by bootloader. And bootloader log is accessible by no simple means. Or are you talking about boot animation?

I am wanting to be able to take note of the startup logs that are shown by bootloader in the background, yes. And yes, I am talking about the mobile phone & tablet.

android has no feature for that. you need to connect with PC and run logcat https://android.stackexchange.com/q/225239 or use an app to emulate https://android.stackexchange.com/q/81207

https://www.xda-developers.com/how-to-take-logs-in-android


text:
How can I rephrase: adb shell "pm block com.sec.knox.bridge" to work in an Android 10 phone?
Hope I am asking the right kind of question. I recently gained from my father a brand new phone his company gave him shortly before his retirement. They gave it to him knowing he was leaving and were trying to be nice. However the phone was still attached to the security settings of the company, including being tied to a Intune Company Portal app, I believe via Knox. Long story short I managed to uninstall that app after eventually being able to revoke its admin app permissions (previously it kept reinstalling itself). I am now trying to put the final nail in the coffin to make sure it can't come back to haunt me.
I have managed to connect my s10 to ADB on my computer and a site I found that helped me with some of the above gave a list of commands to remove Knox. They all follow the format in the title, which to repeat here is
adb shell "pm block com.sec.knox.bridge"
however the return is Unknown command: block
I imagine this was a fix for a previous version using old nomenclature. So my question is how do I correct the above syntax for that statement to do its job?
Cheers,
Shane

Hello. It is a good thing to always mention the link from where you are trying to follow the instructions so that we can evaluate and advise you whether the instructions are correct or not. For example, that pm block command is way, way too old. It is supposed to work only for Android Kitkat versions. Replace it with pm hide or pm disable --user 0 followed by the package name. Do know that all of this would work as long as you don't do a factory reset. Once you reset, you'd have to repeat the cycle.

Thank you for the insight! I will post more succinctly next time. The source for this particular solution is here and links to this for those command lines. I will attempt those commands and report back, cheers!

Further information regarding pm block, pm hide, and pm disable: pm hide VS pm disable — the identity crisis

As mentioned by @Firelord, use pm disable --user 0 instead of pm block. pm block is deprecated (not exist of new versions of pm). if you have an error with disable then the application still device admin or the package name is not com.sec.knox.bridge.
Check if the App is device admin
adb shell dumpsys device_policy | grep knox

If the command output a result, then the application still device admin.
To be sure that the package name is com.sec.knox.bridge:
adb shell pm list packages | grep knox


text:
how to combine Android phone's wifi hotspot and USB tethering so that they are in same network?
I want to transfer files from one Windows 10 computer to the another, for this I usually use Ethernet crossover cable but its transfer speed is (100/100 Mbps)

I have a 5Ghz wifi adapter in only one of my PCs and 5Ghz wifi hotspot in my Android 10 phone which gives speeds upto (433/433 Mbps) also when I use USB tethering from Android Phone it gives speed upto (425/425 Mbps)
So, What I'm trying to accomplish here is to connect one of the PCs to 5Ghz wifi (Remember I have only 1 adapter of 5Ghz) network  and another to USB tethering network using the same phone so that they are both in the same network and hence I may transfer files.
But the problem I am facing here is that the Android 10 phone is providing Different networks (IPv4 network addresses are different) for both the Wifi hotspot and the USB tethering in both the PCs.
Wifi Network Details:
USB tethering network details:
So what can I do? so that both the computers are in same networks using such connections from Android 10 phone.

Don't use Windows PCs as the end points to make file transfer operations. Instead, use Android as the end point for both networks (because it can access both networks at the same time). What you can do is: 1) download a file manager app with network filesystem support (such as FTP, WebDAV, SFTP, etc.). 2) Setup an FTP or a SSH server or a WebDAV on both your PCs. 3) Connect both PCs to hotspot and tethering respectively. 4) Configure your file manager app to access both the PCs. Than use the same file manager to transfer/copy files from one PC to another.

If your device is rooted and uses dnsmasq as DHCP server, then it's possible: https://android.stackexchange.com/a/214072/218526

@Firelord how about merging these or marking duplicates: https://android.stackexchange.com/q/241852, https://android.stackexchange.com/q/236678, https://android.stackexchange.com/q/226520, https://android.stackexchange.com/q/219973, https://android.stackexchange.com/q/119147, https://android.stackexchange.com/q/116447, https://android.stackexchange.com/q/106625, https://android.stackexchange.com/q/26934 and this one?

@IrfanLatif sorry, I'm busy for a couple of days so can't spend much time here. I will ask other mods to see if they can look into it.

Here's another https://android.stackexchange.com/q/174642


text:
How can I access the internal storage on a device with adopted storage
For my tablet I have TWRP on it and it can't access the sd card as it is encrypted. I need to put some files on it to flash with TWRP. How can I access it? I have magisk so I can do root options

you can adb push some small files to /cache partition (or memory /tmp)


text:
Android telephone with a screen that works inside the rain/water spray just as well as in dry region
Well I keep having to fight with all telephones I buy. often wishing back to the time when you could just call instead of having to type on a touch pad.
Not because I don't like it, but because the smart screens seem to live their own lives when they get wet/droplets fall on them.
In my work and generally whereever I am it's more often than not wet and I need to be able to communicate with people in those weathers. I could of course wipe the screen, but within seconds the screen is doing its own thing already. (Currently owning a pixel 3). On top of that even in dry weather the screen seems to have a lot of "ghost" clicks when I touch it, that or it doesn't recognize my touches at all...
Is there a way I can make the screen less random and working better in rain?
I've tried several models, pixels nexus phones one plus, samsung... All seem to fail me.

Do you use a screen protector? That should help in moisturise interacting with screen, especially if it's tempered glass with a high rating

Runbo X3 or similar

@alecxs do you really suggest that only "rugged gear" things work in rain? I find that hard to believe: in a lot of places there are more days with rain than dry days. So why wouldn't high end mobiles aim for those?

first cars in the world where electric. i still can barely see on german roads. that's also hard to believe. i think only good old gsm cell phone with physical buttons is recommended. google is one of the worst quality products


text:
Android image copy break original file date and time
I have found that if I have a WhatsApp image that I want to copy into a different folder on my Android device, keeping the original in place, then the date and time changes for the image.
So if I go into the phones gallery the date and time of both the images show the time of when I have copied the file. Why does copying break the original image? And lose important data on when the images were originally taken.
If I delete the second copied image, so only the original is the there, then the date and time reverts back to the original date and time when viewed in the gallery. It looks like the gallery when displaying the file date and time.is looking at the wrong version of the file??
I have tested this on multiple devices now and the same happens. I copy the file by connecting to the computer.
Using the native copy to in the photo gallery works on devices pre android 10, but has the same affect on android 10.

Apps behavior is never consistent. Simply use cp -p to retain timestamps. See manpage

Usually you don't lose the data when the picture has been taken because it is saved as EXIF meta-data inside the picture data structure (invisible).

you can preserve timestamp with adb pull -a /sdcard/DCIM/Camera

I guess I'd just like to understand why when I copy a WhatsApp image from one folder to another folder on the device, so I have now 2, the original and copied. When I go to the native gallery both images are there in the album's but both with todays date. Why has the original file changed and showing today's date when that has had nothing done to it.

could be a bug in gallery app, maybe related to cache or thumbs


text:
the android_expand partition in the sd on android can be resized?
Can the  android_expand partition be resize?
I need change the SD because start  to fails but i have a lot of thing on the SD partition well i try dd if=/dev/mySD of=/dev/NewSD both are same capacity even same brand but  fails whit not enough space let  and the partition get corrupted then android do not read it, i have done that in a bigger SD in the past and works but right now i have not posses a bigger SD then 64 GB then i need shrink the partition, It is possible ? sorry i post something from android here but I'm using Linux and it is related to part and i have ask the same in android enthusiast but no one answer Thank you !


text:
Samsung Galaxy S20 camera cannot use the flashlight
I wanted to use the light with the camera, then it said that some other app is using the light and I see that the two icons on the right on the top are faded out. It's so horrible getting a high-end smartphone and I cannot even use the light with the camera. What can I do?

The first thing I see from the image you posted, it appears there is a line through the Flash Lightening Bolt on the left, meaning it is disabled. So I would attempt that button first. Otherwise...
Exit out of the camera app and use the following steps. Go back to camera app after each one to see if it allows normal flash use.

Clear cache on camera app
Force stop one app at a time that you believe may be the culprit, stopping you from using flash.
Try another camera app.
Verify you have a working light with some flashlight app.
Verify your phone hardware is legit with one of the verification apps in the play store.

All else fails, you can always factory reset. But if it is all original hardware, it's probably from something you recently downloaded.

I could activate the flash and like that take a photo with the built-in flash to get around the problem but it would be better to be able to use the flashlight and shine light on some object as an alternative.

Most "Camera apps" are made to be used as cameras, not flashlights. It sounds like what you're trying to do is just not a feature of your Camera app. Use a flashlight app instead.


text:
Do unlocked phones get re-opened at the factory?
This question is so borderline, I hesitate to ask it but will anyways. I recently received a new phone from a reputable online retailer, but when I opened the box there appeared to be a fingerprint and another smudge already on the device (before I touched it). I called the retailer and the customer service rep suggested that unlocked phones may be re-opened at the factory to be unlocked... which seems strange, because I would have through they are already unlocked and would only need additional work on them to load carrier skins.
I know I'm unlikely to get a completely satisfactory answer, but was hoping to tell if it's normal to see smudges on a supposedly new phone from the factory - maybe someone has worked in one before. While I think it's unlikely they need to re-open and seal the box, I would have thought they would use gloves (now and before to prevent any fingerprints). My main concern is someone loading malicious software/firmware on the device although I could factory reset it again (setup was not complete when I started the phone).

I left the retailer and phone manufacturer anonymous here to start, but can add it later if appropriate.

Most phone manufacturer place a seal on the phone package that gets broken when you open it the first time. Was there a seal on the package and was it broken?

If you have reason to believe that firmware could have been modified/compromised, than factory reset wouldn't fix anything. You must flash the original firmware from your OEM for peace of mind or flash a custom ROM (but even custom ROM makers don't have good solutions for malicious low level firmware modifications which they have to take for granted unfortunately).

guess it's returned one just selled again without proper cleaning but it most likely was anything beyond brand new. regarding modifications: check bootloader is locked from download/fastboot mode. if it is not ancient device it is safe with factory reset, because on locked bootloader no modifications allowed

@Robert Yes, I should have mentioned this. The seal did not appear broken, but the seal wasn't the most secure. I was able to peal off the remaining portion of the seal without much damage.

@alecxs Would the phone likely have been repackaged by the retailer or the manufacturer? Also, after following the steps here I can be assured that there's no malicious firmware after a factory reset? (i.e. there is no way to change the bootloader back to locked after unlocking or otherwise modify the tamper status after it has been changed).

retailer, probably? re-locking bootloader on modified partitions will brick device. except for corner cases where dm-verity implementation is weak, depends on phone model. for example samsung, huawei, xiaomi, lenovo are secure


text:
Nokia 7 plus network issues
I bought a used Nokia 7 plus not long ago and it worked perfectly at first.
But recently I have been encountering multiple problems concerning the mobile network connection of my phone.  Those include:

I am unable to get a connection to the network in spots where I get a connection using another phone (so the problem is definitely unrelated to my network service provider)
If I do get a connection the mobile data doesn't work or is very weak
Sometimes the phone claims to have a 4g connection to the internet but I can't even to a simple google search

What's weird is that this problem is not consistent, so sometimes I do manage to connect to a network and even to the internet...
Is this a software related problem or is my network card faulty?
If the latter shouuld be the case, would replacing the network card fix my problem?
Any help regarding my problem would be highly appreciated.

As I said, the problem is unrelated to my network provider as my current SIM card works perfectly on other phones...

See if the behavior persists in safe mode (Google how to put your device in safe mode). If it behaves normally, it points to some installed app creating trouble

Network problems like those you have encountered are very unlikely to be caused by the SIM card. More likely is a hardware or software problem of the phone itself.

@beeshyams thanks for the recommendation; but the problem persists even in safe mode. It has to be hardware related then. Do you think replacing the network card would solve my problems?

I am not qualified to recommend. It's best you take it to a service center. The first thing they do is ask you to factory reset, so back up your important data. You may as well do that yourself and test to see if it makes a difference //Bottom line - go to qualified folks who can get to the root of problem


text:
How to launch an activity in lockscreen mode via adb
I have locked my android device using pattern/pin.
I want to launch activity from lockscreen itself via adb command.
Is there anyway to achieve it?
Example:
Say I have an app with activity name com.example.myactivity
When the device is not locked, I am able to launch it using:
adb shell am start -a com.sample.app/com.example.myactivity
But when I lock the device using pattern/pin from settings menu:
I am not able to launch the same app using below command:
adb shell am start -a com.sample.app/com.example.myactivity

Are you sure that the is not launched? It may be launched in background of the lock screen.

I seconded Robert's comment. I'm afraid even if it's opened in the background, the code cannot be run due to the activity lifecycle.

@robert: I could see the activity when I unlock the screen after launching activity in lockscreen. But it is not getting visible in lockscreen. Is there anyway to make it visible in lockscreen in adb rooted device .

Your app needs to be  programmed in a way to allow its activity to be shown over  lock screen. See https://developer.android.com/reference/android/R.attr#showWhenLocked and https://developer.android.com/reference/android/app/Activity#setShowWhenLocked(boolean)


text:
is a way to disable auto connect to wifi that don't need password?
it is really annoying that my mobile phone will auto connect to wifi that don't need password such as those ones in shopping center, most of time they need you to fill up a form to register first before access granted, and I have to turn off wifi for this reason. Then when I go home, sometimes I forget to turn wifi back on and waste my moble plan data usage, is a way to fix this issue? I can't believe that Android doesn't have a mechanism to only connect to wifi you have previously provide password?

AFAIK the behavior regarding unprotected Wifi had been changes in the evolution of Android. Which Android version do you use?

You can use ADB to disable it:
adb shell settings put global wifi_scan_always_enabled 0
adb shell settings put global network_avoid_bad_wifi 1


text:
Allow USB debugging for any PC without confirmation
My phone display slowly turned black for an unknown reason; Maybe moisture (SM-A320F Android8 - no root). I use scrcpy to show phone screen on my PC (and voice assistant when I don't have access to any PC). This software needs USB debugging.
I checked "Always allow USB debugging..." for my PC. However, each time I use Nox android emulator, computer RSA key changes and I should confirm it again. Once voice assistant stopped working in this situation and I luckily and hardly found Allow button in dialog by guess.
Is there any way to always allow USB debugging from any PC? I know it will cause security risks but if both scrcpy and voice assistant stop working again, maybe I can't find Allow button! I tried adb disable-verity but ADB says:
D:\scrcpy>adb disable-verity
disable-verity only works for userdebug builds
verity cannot be disabled/enabled - USER build

To avoid adb authentication problems I recommend to you to install and use only adb from Android SDK. scrcpy contains an own adb version which I would not use. Set the system environment variable ADB and let it point to the adb binary of the Android SDK then scrcpy uses Android SDK adb. Also make sure to use the same Windows user profile so you always use the same adb authentication key.

@Robert I added ADB to path and deleted ADB from scrcpy directory. But still have to confirm USB debugging after running Nox emulator.

Check what happens to the files adbkey and adbkey.pub in the directory %userprofile%\.android\. I assume NOX replaces them which is a very bad behavior. Backup those files before starting NOX and restore them afterwards. These files are your identity the device authenticates ADB for. If they are changed or deleted the authorization is gone.

Additionally you should send this issue to the developers of Nox. Deleting/replacing the adbkey is a big bug.

@Robert Thanks about that path. I edited permissions of adbkey and adbkey.pub so they aren't editable now. However, I still want to disable confirmation. Is there any way to do this (actually without root)?

keep a copy of that keys safe in a zip somewhere in your emails or cloud, you can use that from any PC

I’m voting to close this question because it is a cross post to this question

@Robert They aren't same. This one is about disabling USB debugging dialog in android phone. That one is about preventing RSA key change in windows. This question isn't answered yet.

OK then let me answer it: what you want is not possible without root respectively a custom ROM with adapted adbd on the device.

@Robert Thanks. You may post it as an answer so I can mark it as accepted answer.


text:
When "might" reported spam be sent to my carrier, and when "might" this incur an additional cost?
From https://support.google.com/messages/answer/9061432?hl=en

Learn about spam reports
If you report spam, Google will get a copy of up to 10 of the
spammer's last messages so we can improve spam detection across Google
products. Your past replies to the spammer are not sent to Google.
Your name and phone number are not linked to the spammer’s messages.
The spammer won't see or know about your report.
Your spam report might create a separate “Spam reporting” conversation
that sends a copy of the spammer’s number and most recent SMS message
to your mobile carrier, which might have an additional cost.

A variant of this message appeared on my phone screen when I attempted to report a text message as spam.
Before going ahead with this, I have some questions.

When "might" these messages be sent to my mobile carrier?
Why can't Google tell me definitively whether or not this will happen?
Why don't I get to choose whether or not this happens?
When "might" this incur an additional cost?
Why doesn't Google know if it will?

I am not comfortable with the vague warnings that "stuff might happen" and that I "might be charged for it". These are not statements that inspire confidence; and without knowing under what circumstances they will take place, it is impossible to make an informed decision.

To 4.: Sending an SMS usually costs money (unless you have an SMS flat), I would assume that these are the "additional costs".

But this is a message to the carrier. You'd expect this to be free. And if it isn't, then there should be an option to not send it.

Even if it would be free in your case the general FAQ is for every Google user world wide and therefore has to cover hundred of different mobile network providers.  It might be the case that the SMS is not free for a lot of users.


text:
LectureNotes: "Cannot create custom app directory, will use default app directory!"
I use LectureNotes on my Samsung Galaxy Tab A (2016); my device has Android 8.1.0.  I want to store files from the app on my external SD card, but keep getting the error in the title.  Here's what I've done:

I gave the app storage permissions.
Navigated to Settings > Storage > App directory setup.
Enter /storage/0000-0000/LectureNotes/ in the custom app directory.

I keep getting the error Cannot create custom app directory, will use default app directory!, and can't figure out why this is.  Surfing the web and this site yields solutions which do not work on my device (e.g. ).
What am I doing wrong?  Should I be using a different path?

Note: I'm friendly with Linux, but a novice with the Android file system.  In answers, please provide (1) a solution to my problem, (2) an explanation, and (3) an explanation of why I'm running into this problem (if it's not too much trouble).  Thanks in advance!

Write access to the external sdcard requires to use a special API by the app. And you have to grant access to the app explicitly (or in detail the has to request permission and you have to select the correct folder and grant it to the app). When you first encounter this it is very confusing.

@Robert Does this mean I can't accomplish this from outside the app?  I.e. Something has to be changed in the app's source code?

Regarding the permission I am not sure that may be possible via adb, too, but the permission is useless unless the app uses the Storage Access Framework to write the files. Only using SAF you can write files to the external ad-card. The only alternative would be to modify some system settings and allow every app full sd-card access (requires rooted device).


text:
Why would an app ask for location permission when configuring an IP camera?
Why would this android phone app for this IP camera need location services to be turned on before it gets set up?
Surely that's a security risk. If the camera company's database is ever hacked, an attacker would have both the exact location of the property and the means to view the property to see who was around!
Is there any technical reason why location is required for an app to set up an IP camera? (Another data point: The Google Home app also requires location permission to set up the Home Hub device).
Is it safe to turn on location services and allow the app to determine my location during setup of the camera?

No, there is no need for geo information to set up or connect to a IP cam. The risk is only in providing data to a company even if it doesn't need it, depending on how they will use it. It depends on the company...

I found a way to work around the location requirement, by installing a Fake GPS app and configuring my android device to use it in the android developer menu.


text:
Why my Android suddenly stopped connecting to my Mac?
I usually use my Android device (Samsung Galaxy S7, Android version 8.0.0) to debug my app from my Mac (developer option enabled). Usually when I connected my Android, the Android File Transfer will start to jump around to complaint that it can't browse my Android, and on my Android, it will ask some kind of permission for the computer to access local files. After I say yes, the Android File Transfer will immediately show my Android file contents. But even without that, my Android will usually still showing up on adb devices.
But today, nothing showed up on my Mac, at all. Android Studio doesn't see anything. adb devices doesn't show any device connected. The Android also doesn't show any sign that it's connected, like a kind of notification that it's connecting using MTP or PTP. Now there's no such notification. The Android File Transfer also silent. If I open it manually, it shows "No Android device found. Please connect your Android device with USB cable to get started." But the Android device is still charging.
I tried using different Android device, using the same cable. The Android File Transfer happily jumped around at the first chance. So it's not about the cable either.
How can I fix this?

Check the Android USB settings if it is set to "Charge only".

@Robert it’s set to MTP. I do see an option above it says “charge only”, but the currently selected option is “MTP”.

And sorry to state the obvious, you have rebooted both devices (phone and Mac)? I've had to do that sometimes on my Mac.


text:
How to root "Samsung Galaxy A11" (model number: SM-A115F/DSN)?
I have SM-A115F/DSN (Galaxy A11) running Android-10.
Can I root it and, if so, how?
Maybe someone has already rooted the same device.
I am a beginner and I need a complete step-by-step method. Thank you in advance.

https://github.com/topjohnwu/Magisk/blob/master/README.MD#introduction https://forum.xda-developers.com/showthread.php?t=4139015

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


text:
Do "unlocked" phones come pre-unlocked or just the ability to be unlocked?
When you buy an unlocked (carrier-free) device, do the phones usually come unlocked already, or just with the ability to be unlocked easily? e.g. would the fastboot unlocked status be locked when it arrived? I believe this is referring to the bootloader lock and not the sim/carrier lock if those are different.

They aren't related at all
Unlocked phones refer to phones that aren't bound to any carrier.
It looks like you are mixing this up with bootloader-lock, whose tag wiki says

Some bootloaders are locked by the manufactures to prevent the phones from booting unofficial firmware images.

(Read the wiki and linked questions for more information)
These two are totally independent and as a security measure practically all mobile devices are shipped with boot loader locked while they may be carrier locked /carrier unlocked. For instance, in India we don't have the concept of carrier locking (barring a negligible few cases) and therefore all phones are carrier unlocked, while they are boot loader locked. How easy or difficult is it to unlock boot loader depends on the measures taken by the OEM and again has nothing to with carrier lock/unlock (carriers often make it more complicated)


text:
Force app to stay active
My phone has very low memory (2 GB of ram) and thus any app that is running in background is automatically closed after a minute or so. It appears in the task manager but when I open it, the app doesn't resume but rather starts up again.
However, apps like zoom or WhatsApp calls are not subject to the same background limit.
My question is, can I force other apps to stay active as well?

I have seen this question https://android.stackexchange.com/questions/18736/keep-the-home-launcher-from-being-killed but it doesn't seem to answer how to do it for non OS tasks


text:
How to install Ubuntu-Touch on Xiaomi Mi A3
H!@all
I would like to install the Ubuntu-Touch on my Xiaomi Mi A3
How to start, were to download, how to flash?

The Xiaomi Mi A3 is on the list of supported devices and a link to Github from where you can (I suspect) download the source code.
The Ubports-installer is not working for the Xiaomi Mi A3 (no install script).
So I download the source code lunecrash-master.zip

Did i do everything right?
How to proceed?

Als-Lunecrash-20200605-2206.zip, dtbo.img, Installation


text:
Samsung Galaxy A21s
On my new Samsung Galaxy A21s I am trying to get it to open on the homepage every time I switch it on.
Presently, if I am on gmail and switch it off, and then turn it on it goes back to gmail.
What I want is that it always open in the homepage.
I unsuccessfully have tried to find a way to do this on internet.
Looking forward to your comments,
Regards, Mohan

"Switch on" means for you just switching on the display or do you mean booting up the phone?

By homepage and switch off/on if you mean home screen and sleep and resume your device, than use an automation app such as MacroDroid or Tasker. Very easy. You probably didn't get this answer because you are using incorrect terms for your objective.


text:
Whatsapp backup for new and old chats
I recently accidentally deleted a chat in Whatsapp for Android 7.0 "Nougat". I know if you uninstall and reinstall the app, you can download the backup containing these old messages. Now my problem is, this certain contact messaged me again after deleting the chat, so if I use the uninstall method, I lose all the chats from after the deleted ones. If I say "backup now" as to keep the new messages, it will delete the old backed up messages and only keep the new ones. Is there any way I can have my bread buttered on both sides and get my old messages back while still keeping the new ones?
Thanks in advance.

No. Unless your device is rooted and you merge both databases, which is complicated and results in varying success!//mail yourself those chats from the contact and keep it safe. You have a record that can be used though not in chat format. //Delete and restore account  with old backup as usual

If these messages are important, you can root your phone in order to restore them.
There are many methods to root Android 7 to use at your own risk.
WhatsApp make a backup of the messages database each day at 2:00 AM, these databases are stored encrypted in /sdcard/WhatsApp/Databases/. The key used to encrypt the backup is stored in /data/data/com.whatsapp/files/key which can be accessed only if you have root privileges.
To restore your previous messages:

root your phone
enable USB debugging
dump the encrypted databases

adb shell pull /sdcard/WhatsApp/Databases/

dump the key

adb shell pull /data/data/com.whatsapp/files/key

use this python script to decrypt the encrypted databases:

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

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

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


text:
The phone is stuck in download mode and gives error verifying vbmeta image. The device is a205f samsung
The phone had magisk pre installed and I tried to flash a stock rom and after that I manually locked the bootloader from the download mode. Phone is stuck on download mode, odin unable to flash any firmware. It just gives re partition fail error. Device is A205F. Please help?

with locked bootloader you can only flash official ROM from Odin or Heimdall, congratulation to your first brick https://gsmxt.com/rom-combination-galaxy-a20-sm-a205

I had this exact thing happen to me on a Galaxy S20 FE. @alecxs How can I flash official ROM from Odin when Odin unable to flash any firmware?

@hdsenevi try to flash vbmeta_samsung.img from Heimdall, then try Odin again. post your solution as answer

you should extract ap file and out recovery.img.lz4 and change it to recovery.img.tar,at first flash pit file then  flash recovery.img.tar (uncheck reboot) then go to recovery and reset factory your device. it works for me.


text:
How can I re-flash stock firmware for my Nokia 6.1?
I've developed an issue since the last Android 10 OS update where the phone doesn't charge unless it's in 'USB Controlled by device' mode, which it usually fails to switch to. I'd like to try flashing stock firmware to it, as resetting to factory default didn't fix the issue.
I've tried downloading a stock firmware file and using the recovery mode option to install from SD card, but alas the timestamp on the file was older than the current OS, and so it refused to downgrade.
Since I'm a complete newbie to the android hacking world, I'm looking for an easy to understand solution to install a fresh stock firmware / ROM (not sure what the nomenclature difference is) or failing that, backing up the existing firmware and re-installing that. Naturally, the phone isn't rooted nor is the bootloader unlocked etc, nor do I currently know how to do those things.
Any assistance would be much appreciated.

Warning: Before flashing, always make sure that you have the correct tools, ROMs, etc. because you can brick your phone if things don't go as expected.
I found at least 2 threads from xda-developers. Before you start, your bootloader must be unlocked.
From the first thread:

Install the OST tool.
Replace the EXE file in the program files with the patch file you downloaded.
Delete the Onlineupdatetoolexe.config file. If you don't do this, the program will not start correctly.
Put phone into download mode ( either by powering it off, pluging into USB cable and immediately hold power and volume down. Or if you can boot into android with ADB debugging, just do a adb reboot bootloader.
Pick firmware file and click next.

From the second thread:

Download Nokia-SDM660-Tool.zip & Copy Nokia-Tool.exe
Download latest HOME BREW Stock Rom And extract in one Folder and name it as STOCK ROM
Now add Nokia-Tool.exe in to that respective STOCK ROM Folder
Now connect phone to pc
Go to download mode
Now Open Nokia-Tool.exe
Now select Button according to your Phone code
Example Iam Using Nokia 6.1 Plus & My phone code DRG & so i will choose [ DRG B2N CTL PL2 ] same option for 6.1 , 7.1 & 7+ but for 7.2 & 6.2 users choose [DDV SLD]
i will click on [ DRG B2N CTL PL2} According to my phone as i explained in point no.8
wait for 10 min Tool will flash the rom & your phone reboots to system.
So finally this is what the exact standard method to flash stock rom on Your devices

Important: Read the linked threads (and others). If there are steps that you don't understand, ask the authors questions so they can guide you throough the process.
Nokia 6.1 (2018) ROMs, Kernels, Recoveries, & Other Development


text:
Any way to force change an Android device screenshot folder location / destination?
Is there any way to force an Android device to change it's screenshots file folder / destination location?

Like ADB command or something?
Something that is native and permanent?
Something that isn't app based (I don't like PinSync and FolderSync as those are battery hogs too)

Specifically for my Samsung Android device. Samsung infamously add their Screenshots folder inside DCIM > Screenshots, instead of what supposed to be in Pictures > Screenshots on virtually all their Android devices ever shipped. Despite users asking for this change, the problem still exist today.
I don't like this experience because of these such experiences :

Photo Backup services like Google Photos or OneDrive auto backups your Screenshots too.
I believe Screenshots in the cloud should be a manual backup. Not all of them are so important to be wasting your cloud storage
Especially if your device has the Volume button on the right side, and Power on the left side, which makes accidentally screenshotting very easy.
Literally your Photo Roll will be littered by accidental screenshots.

Some OEMs Android OS have their manual Screenshot folder location changing on their Settings apps, but not Samsung's One UI. And apps such as Google Photos doesn't support specific folder syncing yet. They only annoyingly support parent folders for now.
But if possible, I'm asking for a universal solution to this. That will work to any device / OEM. I don't like rooting, but if that's the only solution you know of, please tell me.
I'm sick and tired of this. Please help me.

You could use this to sync the folder to copy the contents to another folder and delete at source. You could use an automation app to run this every half hour or on pressing volume /power buttons (if that works for you)

Unless the location is stored as a configuration in a file/DB/anythine else, it probably needs root access to really force-move the location (instead of copying/syncing), since the location is possibly baked into the system when the OS is built.

@beeshyams Sorry man, but I just said I don't wanna use PinSync. As those apps usually gets shut down on Battery restrictions of each OEMs. As well as automation apps. Not native as well. Google Photos backup process is usually real time, so before they get moved to another folder, they're already backed up.

@AndrewT. I see. Do you have any knowledge where this configuration might be? Rooted or not rooted?
And I indeed needed to be rooted, how can I do it?
If you do not know, do you any places where it might be useful to ask help to modify these?

Possibly an app built on inotify API, running continuously a foreground service to watch filesystem changes. Or if the OEM's battery optimization is aggressive enough to kill even foreground services, then the same API using root. E.g. busybox inotifyd. That won't be killed for sure.

The screenshot save directory is hard coded in AOSP source code: https://github.com/aosp-mirror/platform_frameworks_base/blob/a4ddee215e41ea232340c14ef92d6e9f290e5174/packages/SystemUI/src/com/android/systemui/screenshot/GlobalScreenshot.java#L348-L349


text:
Which app in Play Store shall I use for app2sd and how shall I use it?
I am learning info from https://android.stackexchange.com/tags/insufficient-memory/info, which says too options for moving apps from internal storage to removable SD card.
My Android 4.4.2 is not rooted, so I guess my Android system itself isn't able to move app to SD card.
According to https://android.stackexchange.com/tags/app2sd/info, which app in Play Store shall I use for my Android 4.4.2? Is Link2SD a good one for mine? I was wondering how to use it? I selected some apps (by starring them), but I don't know what to do next.

Thanks.

this kind of apps require root access (or at least a mount script, for which you need a root access)

Is there an app which doesn't require root access? What is my option now for the problem of https://android.stackexchange.com/questions/228892/how-can-i-increase-storage-space

root with Kingroot, install SuperSU and delete Kingroot manually. i recommend to make a file list of /system before, that way you know where Kingroot have placed hidden files

To avoid the kingbloat: shouldn't Towelroot work on Kitkat devices?

Don't use any app. Bind mount directories (like /data/data or /data/media) manually by putting an init.d script.

@IrfanLatif Could you be specific?


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

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

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

Click the 3 dot option: Manage in Google Photos

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

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

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

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

Its doenst work, the photos reapper in google drive

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

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


text:
I forgot the email i used to register on my Samsung S6 edge+ mobile
I forgot the email i used to register on my Samsung S6 edge+ mobile, it does not allow to use the phone without entering the registered email, Is there any way to find the email account.

i don't think so. which account do you mean Find My Mobile / Find My Device ?

Do you additionally mean the SAMSUNG account? It is another way into a device, apart from the google account. They are sometimes linked.

Have you performed a factory reset before? If yes this is the Factory Reset protection (FRP).

Get the originall bill to prove your ownership , contact customer support with IMEI of your device and tell them your problem

and then? how can costumer support help?


text:
msgstore.db whatsapp android
Does the msgstore.db whatsapp file on android contain every msg every sent and received?
If so are voice notes digitally recoverable from the msgstore.db file?
Latest version whatsapp on android 9.
Regards

yes and no. every message is in this database. but no attachments

Are deleted voice notes recoverable at all using forensics? Thanks for answering.

we recently discussed that it is impossible to recover a deleted file from FBE https://chat.stackexchange.com/transcript/108420 but for FDE it's not completely hopeless

Is it only unrecoverable on a factory reset or normally deleted aswel? Thank you for the answers

some people claim this device is not encrypted. search for root exploit (if exist) https://forum.xda-developers.com/huawei-p20-pro/help/how-to-device-encryption-t3800297


text:
What does an Android-encrypted SD card do/look like on PC
Long story short - my Galaxy Active S8 apparently got wet inside, and stopped working (although I think I can revive).  I've let the Samsung microSD card for almost 24 hours, and as it's simply a card I believe the data should be easily retrievable as I've had SD cards get wet before, but would work after drying.
However, when I put the microSD card in my PC, doesn't show up in the Windows Explorer like normal.  I don't see an additional drive pop up at all.
I can't remember if I encrypted my card or not.  So, I'm hoping I did, and that's why it's not appearing as mounted on my PC.  What would an encrypted SD Card do, or look like, when inserted in a computer?  Would it appear as a drive, but prevent any access - or would it simply not show up at all?

Android/Linux use different file-system formats than Windows. Windows can't read them at all so they may not be displayed (depends on the used Windows version and revision). Also make sure to check hat is displayed in the disk management view. It shows more details than the Explorer.

@Robert - Thanks for that comment! I have Ubuntu on a separate drive - let me boot in to that, cross my fingers, and see if it works!

Bah, nope. Nothing appeared or showed up. Disk Management doesn't show a drive get connected either.

@beeshyams any way to confirm? I'm trying to get my phone working again, but would be surprised if it's dead.  If so, are there ways to retrieve the media (a yes/no is fine, I get that's a big question)?

Let us continue this discussion in chat.

Run dmsg -w on Linux before connecting SD card. That's the simplest way to know if card is detected properly regardless of whether it's encrypted, or the filesystem is broken etc.

@IrfanLatif - Ah! I ran dmesg -w and got the following, primarily "no support for card's volts" and "card claims to support voltages belo defined range".  Screenshot here

@BruceWayne that indicates the failure is at hardware level. RIP!

@IrfanLatif - Noooooo! That means it's 100% unable to be recovered, even by a service (and I'd assume it'd be really expensive)?

@BruceWayne you can try your luck. Hard to say anything.

@IrfanLatif Thanks for your help. If you want, put the dmesg -w troubleshooting tip in an answer, and I'll mark it.

You could look at it with gparted in Linux.  If it's toast, it is.
Give it a try ... it is the standard partition mounting gui tool in Linux.
Else take it to a repair center from your Phone Service Provider.  Give them a try.

Do you have any links/more info on how to use gparted?

parted/gparted/fdisk/gdisk are partitioning tools. Kernel does not recognize the card at hardware level. There are no block devices evaluated, so no partition table, no /dev or /sys entries. What would gparted do there! It simply won't be aware of the existence of the card. @BruceWayne please update your question with the actual problem to avoid irrelevant answers.

@IrfanLatif - Yeah, I need to edit my OP...it spiraled from my original question.  In any case, for now I consider this specific question closed thanks to your tips :)


text:
Firefox’s “Add to Home Screen”, but different profiles & privacy
I have Firefox 68.9.0 on Android 8.1.0. Some websites allow one to add them to the home screen, a part of HTML5's Progressive Web App, and the website can then be viewed as if it's a real app, without the browser UI. However it shares the same regular Firefox cookies, so if I log into a site on regular Firefox, and open the “home screen” version, it's logged in there.
Is it possible to “add to home screen” and yet make it a different “profile”, so things are separated? This would allow me to (for example) add several twitter.com “apps” each logged in a different user. Is this possible?

I don't think it would be possible because cookies and home screen aren't shared across profiles AFAIK - an alternative could be to "share" that url and retrieve when in other profile? Choice of where to share would be dependent on what apps you are signed in from both profiles

Also see this question and comments - SMS to yourself may be an option, if that works


text:
adb reboot recovery error: closed
I have an old Samsung Tab 3 (NT210) that is bricked after not being used for a few years - it gets stuck at the Samsung logo screen after being turned on. However, I am able to boot into the recovery screen.
I have been looking at various online solutions and most seem to suggest flashing custom recovery and ROM to solve this issue. I have managed to find a twrp recovery image and a custom ROM for the device, and had decided to load them into the device via adb. I followed the instructions from this webpage: https://how2do.org/how-to-use-adb-sideload-to-install-roms-updates-restore/
I first ensured that my device was recognised as shown:
adb devices
List of devices attached
5200ee695a69c000        sideload

However, the process will fail at 'adb reboot recovery' as I keep getting the following error:
adb reboot recovery
error: closed

Further research into this problem showed that likely cause of this error is because the device is using stock recovery. I can also confirm that the device has not been rooted before. Commands such as adb shell or adb usb will also return the "error: closed" error message.
Is it still possible to root or salvage the device? I can still charge the device and boot it into recovery or download mode, but that's about it.
Thanks for the help!

Hello Strider1994. You've got the instructions all wrong (adb commands don't work in stock recovery). First, list your priority. Do you want the device to be able to boot into Android or you want to root the device whatever the state your Android is in? Second, forget about stock recovery if you want to root the device as it is useless (other than to factory reset the device and sideload stock ROM). Third, in any case you would choose you are likely to lose your existing data in the device so be ready for that. Fourth, proceed to Uncle Web with your priority in mind.

The sideload mode is a special adb mode only used by recovery roms. It is not a full adb connection, instead it can be only used to provide a ROM image via USB and flash it. Therefore other commands except adb sideload do not work.


text:
ssh into android over usb: macOS
I have a Meizu M8 phone running android with Termux. I had set up ssh access to Termux over WiFi, but I want to be able to do that over USB because of possibly lower latency and higher speed. If I connect the phone to my macbook using USB, I can use adb to get shell or transfer files, so I think ssh over USB is possible. How can I achieve this?

SSH isn't aware of if you are connected over WiFi or USB. It just needs a IP/TCP network to work. Use the phone's new IP address assigned over USB tethering.

You can set-up a TCP port forwarding using adb (forward device port to a port on your mac). Then the SSH port would be tunneled through the adb (USB) connection. In the end you could connect via ssh to a port on localhost and end up on the device.

@Robert How would I do that?

@JoyJin if you are suing adb over USB, simply use adb pull and adb push or adbfs for data transfer. No need to use SSH. In my previous comment I though you are using USB tethering. // Port forwarding is explained here: https://android.stackexchange.com/a/207342/218526


text:
How to determine which version of TWRP has been installed?
A secondhand phone looks to have TWRP already installed:
thufir@dur:/run/user/1000/gvfs/mtp:host=HTC_Android_Phone_SH4AYWM01306/Internal storage$
thufir@dur:/run/user/1000/gvfs/mtp:host=HTC_Android_Phone_SH4AYWM01306/Internal storage$ ll
total 53
drwx------ 1 thufir thufir    0 Dec 31  1969 ./
dr-x------ 1 thufir thufir    0 Dec 31  1969 ../
drwx------ 1 thufir thufir 4096 Oct 26  2019 Alarms/
drwx------ 1 thufir thufir 4096 Oct 26  2019 Android/
drwx------ 1 thufir thufir 4096 Nov 26  2019 .data/
drwx------ 1 thufir thufir 4096 Dec 18  2019 DCIM/
drwx------ 1 thufir thufir 4096 Oct 26  2019 Download/
drwx------ 1 thufir thufir 4096 Oct 26  2019 Movies/
drwx------ 1 thufir thufir 4096 Oct 26  2019 Music/
drwx------ 1 thufir thufir 4096 Oct 26  2019 _nero_sync/
-rw------- 1 thufir thufir   38 Oct 26  2019 nmdsdcid
drwx------ 1 thufir thufir 4096 Oct 26  2019 Notifications/
drwx------ 1 thufir thufir 4096 Mar 31 17:31 Pictures/
drwx------ 1 thufir thufir 4096 Oct 26  2019 Podcasts/
drwx------ 1 thufir thufir    0 Oct 26  2019 Ringtones/
drwx------ 1 thufir thufir    0 Apr 12 13:34 .showme/
drwx------ 1 thufir thufir 4096 Mar  4 14:34 TWRP/
drwx------ 1 thufir thufir 4096 Nov 27  2019 WhatsApp/
thufir@dur:/run/user/1000/gvfs/mtp:host=HTC_Android_Phone_SH4AYWM01306/Internal storage$
thufir@dur:/run/user/1000/gvfs/mtp:host=HTC_Android_Phone_SH4AYWM01306/Internal storage$ ll TWRP/
total 5
drwx------ 1 thufir thufir 4096 Mar  4 14:34 ./
drwx------ 1 thufir thufir    0 Dec 31  1969 ../
-rw------- 1 thufir thufir  973 Apr 12 13:27 .twrps
thufir@dur:/run/user/1000/gvfs/mtp:host=HTC_Android_Phone_SH4AYWM01306/Internal storage$

How do I determine which the version number for TWRP which is already installed?

If it is a second hand phone I would not trust any pre-installed software at all. Just download the latest TWRP for your device and install it.

this is exactly my concern @Robert -- thanks.

How to check installed TWRP version?


text:
Phone unresponsive after fastboot boot command
I try to root a Xiaomi Redmi note 5. After issuing the command
fastboot boot twrp-3.4.0-0-vince.img

The screen turns black, with the Xiaomi logo at the center of the screen and 'Unlocked' is written at the bottom. I've tried several img versions, verified their names are correct(that is, they don't end with a double .img), as well as holding the Volume up and Power buttons, but the outcome was always the same.
My CMD:
C:\Users\Oagroup\Desktop\ADB>fastboot devices
380387a fastboot

C:\Users\Oagroup\Desktop\ADB>fastboot flash recovery twrp-3.4.0-0-vince.img
target reported max download size of 536870912 bytes
sending 'recovery' (36804 KB)...
OKAY [  0.801s]
writing 'recovery'...
OKAY [  0.527s]
finished. total time: 1.330s

C:\Users\Oagroup\Desktop\ADB>fastboot boot twrp-3.4.0-0-vince.img
downloading 'boot.img'...
OKAY [  0.801s]
booting...
OKAY [  0.154s]
finished. total time: 0.959s

C:\Users\Oagroup\Desktop\ADB>fastboot oem device-info
...
(bootloader) Verity mode: true
(bootloader) Device unlocked: true
(bootloader) Device critical unlocked: true
(bootloader) Charger screen enabled: false
OKAY [  0.007s]
finished. total time: 0.010s

Thanks for the help.

https://android.stackexchange.com/q/214902 the first command flashed TWRP, therefore you must disable dm-verity. i recommend OrangeFox Recovery because TWRP has issues with disk quota

I don't understand the instructions in the link. What should I do after I download the zip? Should I flash it, and if so, how? (I am all new to this stuff).

no-verity-opt-encrypt-6.1.zip can be installed from TWRP menu. please confirm your device is vince (not whyred, rosy, riva) flash TWRP from fastboot (again), then fastboot reboot (while keep holding Volume Up)

after flashing keep connected, press + hold Volume Up only (not Power), type fastboot reboot while holding Volume Up, release Button when you see TWRP splash screen


text:
How would the app DiskDigger be able to get past SELinux when adbd/SuperSU/etc. cannot?
Okay, so I was able to recover my deleted files after all. I am the furthest thing from a software developer, and I don't have more time to spend on this, but I wanted to explain how I fixed it and ask a question about why the solution worked in case it's significant.
People should just read my other questions if they want to know the background; basically I deleted an entire folder of photos on my Android by mistake, went through the trouble of learning how to root phones and use adb.exe, etc. to try and recover them, only to be blocked by SELinux.
I got stuck with SELinux because the kernel in Android 5.1.1 apparently disallows permissive mode in SELinux (or changes from enforcing mode to permissive mode). I didn't have time to learn how to decompile/edit the kernel, so I tried a shot in the dark with an app called DiskDigger that some people recommended (no, I am not a secret advertiser, I am being 100% honest). Surprisingly, DiskDigger worked, and recovered way WAY more than I expected, even some photos that may be from a previous user (refurbished phone). I was surprised that much was recovered; I did keep my phone in airplane mode almost the whole time I was working on this to prevent automatic updates, but I also installed several apps along the way and rooted the phone, so I guess I was lucky or something.
Now for the question:
If DiskDigger was able to do this, it must mean that it was able to get into files that required root access; SuperSU verified this because I had to grant DiskDigger permission to do so. What is it about DiskDigger that enabled it to get past SELinux when I could not?
Is it because it was verified by Google Play as a trusted app? Did it have some special identifier from google that allowed it past SELinux? If there's a way to copy whatever allowed DiskDigger access, maybe other people wouldn't end up getting stuck like I did.
Anyway, that's all. I'm probably not going to have to do this again, but thank you to the people who tried to help me out. If I ever have to delve into this stuff again, I'll be back.

Does this answer your question? Why "adb root" does nothing?

SuperSU injects it's own sepolicy rules therefore manages privileged access without setting selinux permissive. i have already linked above answer on your first question, there it is explained well why adb root doesn't work (but adb shell su -c does)

what makes you think you didn't have access to /data from terminal is most likely caused by isolated namespace separation (which you can disable in SuperSU settings)

@alecxs mount namespace separation is only applicable to emulated storage where apps' access to filesystem is subject to Storage permission status. /data is equally visible in all namespaces to all processes. DAC allows apps to only access their private directories in /data.


text:
Smoothing active capacitive stylus lines, LG G pad X
No idea if this is the right place to post this, since I don't know if the problem is my OS (android 6.0), stylus (Xiron active capacitive), software, or screen. My stylus makes very jerky/wavy lines, especially when slow and diagonal. However, it works ok with the passive capacitive end of it or best just my finger. The only app that seems to smooth this is Bamboo Paper. But, I need to annotate PDFs, which bamboo cannot open. Do i have a faulty pen? Is there better software that I could use? Pics below of finger vs stylus in bamboo and adobe reader.

Long time ago I owned a Note2, whose Stylus had similar issues. Dropping it on a firm hard surface like on carpet with the stylus end hitting the carpet was one solution and that actually helped. It could be opened up easily and the potentiometer adjusted to increase /decrease sensitivity. See if you can do this on your pen or try the tapping on firm surface method repeatedly and see if it helps

You can try apps specifically meant for pdf like this or this

@beeshyams thanks, but sadly hitting the tip didn't help. I tried those two and many others, and the only program that seemed to work ok was INKredible, but it's still just a little jerky/the resolution of the writing is so low to the point of frustration.

Xiron lacks pressure sensitivity ; maybe this is the reason?

Wiki says active pens are expected to detect more than 8000 pressure sensitivity levels and if Xiron doesn't have this feature, this could well be the reason for your frustration. On bamboo paper app, you are not seeing this, because it is specifically meant for stylus writing and compensates, resulting in smooth lines unlike a pdf (no proof, but sounds logical to me)


text:
Recover data from Download/Odin Mode on phone that won't boot into Recovery?
Is there any way to get the data out of a Samsung phone that will boot into Odin Mode / Download Mode but won't boot into Recovery or anything else?

@alecxs Does S7 have EDL mode?  I guess not because mine is Exynos.  This says "The decrypting bootloader capability for Exynos processors enables unlocking, as well as full file system and physical extractions from popular Samsung devices."  Is there something similar I can put on my phone to dump out the internal storage?

This says "Samsung does not use the Qualcomm EDL mode even in its Qualcomm-equipped handsets...Instead, Samsung implemented its own proprietary programming protocol called Odin. Odin can be used to read the (encrypted) content of the device. ...
For many Samsung models, one can use one of the engineering boot images leaked from Samsung or one of its service facilities...These engineering boot images are developed and signed by Samsung proper; they allow full, unrestricted access to the device storage."

you did find a useful site, thx for clarifying

So if this has ENGBOOT for S7 Exynos, then I could burn that to the phone and somehow extract the device storage from it?

members on xda claim it is not a trusted source, and it's not clear it is for exynos, but yes you can flash eng boot + twrp (odin may wipe userdata after flashing, heimdall does not) but the problem remains you probably can't boot any other than download mode. and you can't extract data in download mode, only flash ROMs. can you add picture of download mode screen?

beware the bootloader can't be downgraded, do not flash higher version of bootloader (it is the red digit on this example:  https://mobilefirmware4u.blogspot.com/2018/05/samsung-galaxy-s7-combination-rom-g930f.html) before flashing TWRP (does not support encryption/useless) please read about RMM protection (not sure if this concerns combination firmware)

@alecxs Oh, so if it won't boot into recovery, it won't boot into ENGBOOT either?  It has a "G930F" file inside, which is the Exynos variant that I have.

@alecxs Download screen: https://i.imgur.com/ZsJJ33B.jpg  (I like how the logo is burned into the screen now from sitting that way for weeks...)  :|

please try it is normal boot mode not recovery mode. the question is why it doesn't boot at all, i doubt another boot.img can fix

maybe volume and/or home buttons stuck or short circuit? or there are some broken instructions left on cache partition (failed OTA)? or data partition corrupt (broken encryption)? or empty slot (not sure it's A/B device)? or emmc wear-out?

@alecxs I don't think the buttons are broken.  I don't know about the other issues, they could be responsible.  What is "empty slot"?

you can flash cache.img and see if this fix something (that does not harm). empty slot mean no ROM installed in 2nd slot (should never happen). read more about A/B device (idk if valid for S7)


text:
Macrodroid -- stop loop when screen touched
Macrodroid question.
I have the following macro, which needs to loop:

UI Interaction
Wait 1 second
UI Interaction
Wait 2 seconds
Macro Run [This Macro]

How can I break the loop between Step 4 and Step 5 (Macro Run), if the screen is tapped, during that 2-second delay?
I have considered creating a second macro, that will terminate the first macro, upon trigger of screen tap, but screen tap is not a UI Interaction option as a trigger for the second macro.

@beeshyams  thank you, I'm not clear on your suggestion. In Dev Options I have Show Touches (show visual feedback when screen is touched) and Show Touch Data (touch data is visible on screen).  I'm not clear how a recording of a touch could be a trigger, though.  I need the trigger (to stop the loop) to be the actual touch I make, on a random place on the screen.

Like I said, it was  just a guess and probably wrong. What I thought was it could be somehow recorded and would work as trigger, which clearly is not the case. Sorry for suggesting without trying it


text:
Droidexplorer cannot find device. Galaxy Note 4
I accidentally deleted the entire photos folder on my Galaxy Note 4. My quest to recover the photos in this folder has led me here. I have installed the SDK on my PC (Win7) and droidexplorer is all set up, but it won't detect the device. Yes, developer mode is activated and yes, the USB debugger thingy is turned on. Droidexplorer sounds really super helpful, but it's not detecting my phone.
I saw several other threads about platform-tools needing to be reverted to an older version, but I can't figure out how to find the version I need, and it is difficult to understand some of the posts/events/etc. between stackexchange and github because I am not super experienced with coding.
I got this far because I'm not very good at giving up on things, but I am just about out of time to spend on this problem.
About the device:

Samsung Galaxy Note 4 (refurbished, in case it matters

Unrooted. Not necessarily opposed to rooting the phone, but if it would wipe memory that won't work.

Running 5.1.1

I need help figuring out why droidexplorer cannot find my phone. Do I need to replace the platform-tools folder? Is it something else? Is the damn thing too old for this?
Thanks to anyone who is willing to help.


text:
on a termux app terminal access where should I put my own runnit service to start on phone reboot?
I wrote a simple service like this one: http://smarden.org/runit/runscripts.html#apache2
$ cat start_node_exporter
#!/data/data/com.termux/files/usr/bin/sh
termux-wake-lock
. $PREFIX/etc/profile
/data/data/com.termux/files/home/bin/node_exporter --collector.wifi --collector.tcpstat --collector.runit --collector.processes --collector.mountstats

I would like it to run on phone reboot

Explained here very well: https://wiki.termux.com/wiki/Termux:Boot

I have already tried that, that sshd example did not work on reboot the .termux folder disappeared.

Did you install Termux Boot app?

Indeed, the instructions are pretty clear on the page you shared


text:
How can I set encryption password, when making a backup with TWRP via ADB?
It is not about decryption, like others have already asked.
I need to know how to set encryption key, via CLI.
adb backup --twrp then what?
Will it use my phone's encryption password?
If so, why won't it ask me for a different password like the GUI does?

The adb backup for twrp works differently than adb backup that works when Android is running. TWRP doesn't support encryption of backups. Well, it is not at least mentioned here: https://twrp.me/faq/openrecoveryscript.html


text:
I cant get on my samsung sm-t387w tablet
I have tried several  passwords that I might have used, but no luck. My tablet is still on and it is asking for a password to turn it off. I even spoke to samsung customer service for an hour and they couldnt fix it.

get on, get off? what password, google account? do you think password will be gone after reboot?


text:
Hidden fastboot mode or no fastboot?
So here is my problem: I cant get in to fastboot mode on my wiko tommy 3 android 8.1.0
Here is what I'm doing:
adb and fastboot are installed on pc (windows)
I have developer options and OEM bootloader unlock enabled
In terminal adb devices shows my phone
I enter adb reboot-bootloader but it does not say "fastboot mode" on screen like I have read it is supposed to. It just restarts my phone. ( note I have tried variations like reboot_bootloader; same result).
W
So my question is am I doing it wrong or is fastboot not on this phone. Or is it hidden somehow?

enter recovery mode, from there select reboot to bootloader


text:
I can't access my phone after a factory reset, because the Gboard doesn't work!
After doing a factory reset on my Huawei p9 lite because it was missing a lot of features like the calculator, alarm, notes and even Bluetooth. After it asks me to log in my linked google account, I can't type my email because the Gboard doesn't work, it shows up the microphone and it doesn't even want to listen to my voice!

How got the device so messed up? Did you managed to get root access and changed the installed system apps?

I rooted it for 2 years just fine till It got soft-bricked or something similar, but I got it fixed at an official Huawei store where I live for 50$ but I somehow didn't even notice the calc and apps missing until it was too late, I decided to do a factory reset and thought it would fix it, but the keyboard doesn't work, I'm lost on what to do @Robert

flash stock ROM. make sure flashing process does not include accidentially re-locking bootloader, keep bootloader unlocked

How can I flash a ROM if I don't have access to any menus or anything it's only the google verification thing and that's it @alecxs Also in FASTBOOT mode it says "Phone Unlocked" and "FRP LOCK" don't know if this is useful or not, but just in case.

I don't know if this is so complicated or am I just dumb, but I've been trying stuff for what seems like ages, and I can't figure it out, is there a certain guide I should be following? @alecxs

You can try a USB-OTG cable and connect a USB keybaord.

it seems there is official TWRP available for your device (since ~1 week) please try this one instead

install latest platform-tools
download service ROM according to your phone model
connect usb-cable and enter fastboot mode (Vol Dn + Power)
install usb-drivers
flash the common partitions only
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash cust cust.img
fastboot flash vendor vendor.img
fastboot flash product product.img
fastboot flash version version.img
fastboot format:ext4 cache
fastboot format:ext4 userdata

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


text:
WhatsApp chat backup in Android backup on Google Drive
I recently broke my Google Pixel 3a and now I got a new phone (Samsung Galaxy S9, running on the same Android version, Android 10). Now I would like to restore my WhatsApp chats from my old phone. I could not manage to retrieve the local chat backup from my Pixel phone and I did not store any WhatsApp backups on Google Drive. However, I have a phone backup called 'backup of Pixel 3a' in my Google Drive. I was able to restore that backup on my new phone. As it seems, that backup contains my local settings, call log and which apps I installed on my previous phone. Apparently, some app data is also included in this backup.
Now my question is: Is there any way to retrieve my WhatsApp chats from this phone backup on Google Drive?

See this https://mobiletrans.wondershare.com/whatsapp/read-whatsapp-backup-from-google-drive-on-pc.html

Note that according to the manifest file, WhatsApp disables system backup, so it's not included on the phone's Drive backup.

Related: How do I access to my WhatsApp backup in Google Drive?

Is there any way to retrieve my WhatsApp chats from this phone backup on Google Drive?

I don't quite understand, if you want to backup from Google Drive, if it's been set up, then it should be automatic. Check your google drive, top left menu, backups, if there exists a whatsapp file. If not, you don't have a backup in GD.
What I would probably do is to try and access the phone through ADB (if possible) repair the phone/screen, copy local files over, deactivate google drive backup, and just restore from local backup.


text:
Is there a 'first'or 'original' language in the app?
Many Android apps supports multiple language so that it follows the system default language or users can select language from the setting.
Sometime the translation quality is poor, so I would like to see the 'original' version of the app, not the translated version.
Is there such as option?

See this https://developer.android.com/training/basics/supporting-devices/languages

Does this answer your question? Change language of an Android app?


text:
where i can find combination firmware for samsung A207F(A20s)
I need combination firmware/file for remove FRP from my Samsung A207F(A20s).
Where from i can find it?
I very searched for it but could not found any things.

Does this answer your question? How to bypass "Verify your account" (Factory Reset Protection)

@alecxs i've seen combinationfirmware.com/combination-samsung-galaxy-a20s before, there is no any link for download. you see any download link for combination file?

@alecxs yeh, i've tried the sim method, but does not work on android 10 an latest security patch update

bootloader has downgrade protection i doubt you will find combination rom which is flashable on latest version. just wait a year or so..


text:
Change language of an Andoird app?
Some Android apps allows users to change language in setting,
but some apps fixes the app language to the system language.
If the app does not allow the user to change language, can I use the different language from the system default language?

Does this answer your question? Is it possible to run applications with different locales (languages)?

Translations are added by the app developer for every language they want to support in their app. If the developer didn't translate the English strings to any other language, app won't change locale when changed in device Settings.

I wanted to know if there is a way to accomplish this without rooting or using any virtual-machine-like (such as Parallel Space).

Translations provided by the app developer is sometimes does not make sense since they sometime use machine translation.


text:
Is there a way to write/ run custom scripts in the background on my phone?
What I have in mind is pretty simple. I want to write a small script for simple file managing, and I would like for it to be run automatically like once a day. I have some coding experience under my belt so the actual implementation won't really be a problem. What I'm actually confused about is if the Android platform has any features that would make executing the routines viable.
The bulk of the coding I do day-to-day is Python, but I could get used to Java or Kotlin's syntax in a couple days if necessary, and from there its just really simple logic. Considering that Android is really just Linux at the core, I imagine it would be possible to have it run a couple lines of code automatically everyday at a set time, as I have done on my linux machine a couple of times.
I'm pretty much a complete newbie when it comes to fiddling with Android's workings, so if anyone has done anything like what I'm  attempting or knows about relevant documentation, some guidance would be much appreciated.

While Android is built on the Linux kernel, Android != Linux due to additional frameworks & restrictions on non-rooted device. Rooted gives you more options. You should explicitly describe what "simple file management" you are thinking of, what version of Android, hardware model, and if the device is rooted or not.

So, what I would like the script to do is to look through a predetermined folder and check for any files older than like, 3 or so days, and delete said files. Would be nice if it executed once a day. With a regular linux distro, I could get that to work by writing to my bash profile, I don't know if that's possible on Android. As for the device, it's running android version 9, kernel 4.9.117+, unrooted.

Android itself provides neither any cron-like mechanism, nor a terminal login (so no .profile/.bashrc etc. (related details)). You can use AlarmManager API in your app for repeated tasks. Or use some automation app. Or with root: How to run an executable on boot and keep it running?. Also related: https://android.stackexchange.com/a/221420/218526

No
On a non-rooted device, files are generally considered private to apps (think each app as a userid and you don't have sudo). Apps and their data are meant to be isolated from each other in the increasingly privacy focused mobile world.
As you have programming experience, here is the Android Developer documentation on data storage and you will note the different types such as media and "documents" using the Storage Access Framework. Add on Adoptable Storage for SD cards and you get experienced non-Android developers asking questions like What's the current status of Internal vs External vs Removable vs Adoptable Storage on Android?. Regardless, if your "predetermined folder" is a system one, without root you won't have access either.
The above SO question link to blog posts by Commonsware regarding the Android storage situation: internal storage, external storage, and removable storage as viewed from a developer perspective. Writing an app to interact with all of these storage types would be off-topic here in Android Enthusiasts but reading them gives context on how not like command line/shell Linux that Android has been and is becoming.

Thank you, the documentation will be more than helpful. I've been looking around for a way to keep my script running in the background. I imagine Android has some sort of 'bashrc' equivalent or something?


text:
google pixel 2 phone rear camera not working suddenly
i am using google-pixel 2 phone since  2017. phone not able to start camera app  and app getting crashed when i tried to open rear camera . front camera is working fine .i contacted google support team they said that try to clear app cache and data. i cleared camera app cache,data but no luck. how do i get my phone rear camera to working condition ? pleas help me out to get it working. thanks

I faced the same problem and I actually used beta versions just to have their latest taste. If you do the same then it's okay because of the bugs and beta versions aren't stable. If nothing helped at all then first try to delete the data from about or secodly you can restore your phone to stable version.

thanks @SurajitDas . i am also using beta versions . how can i restore to stable version?

Before downgrade to the stable version of android you've to keepfew
things in mind.

You've to backup your data (because flashing erase your data permanently)
You've to download the stable image file of your device
You've to download Android SDK Tools (don't have to download Android Studio, Command Line Tools will be enough to get your jobs
done)

Now the process of flashing into stable version will take some time and follow the rules below.
1. Turn your developers mode on (by clicking the phone's build number
multiple tiles).
2. Enable USB debugging, unlock OEM and then connect your phone with you PC.
3. Unzip the SDK Tools and then open command promt inside that folder.
4. Unzip the image's zip file into the SDK Tools' folder.
5. Unlock your phone's bootloader, and accept the unlocking by clicking the volume up button of your phone.
6. Go to the fastboot mode and then flash all the image files using "flash-all" command.
7. After successfully flashing to the stable version don't forget to lock the bootloader (if you don't do experimental stuffs then it'll be better to keep the bootloader locked).
8. Set your phone up.
And now everything will work fine and will be stable after setting up your phone with your credentials.


text:
Uses for an original Le Pan tablet Android 2.2
2011 Le Pan Android tablet running Froyo.
Before I toss it, are there any practical uses?

Bedside clock /alarm?

That's what my old Moto does (bedside alarm), thanks to the nice docking station it got :) Other use cases could be (always provided there are still "froyo apps" available where needed): desk calendar, web cam, security cam, digital photo frame – this article lists 20 uses.


text:
Video files mysteriously deleted
I get some files deleted when doing this, it happened twice and it doesn't happen anywhere else:

I download some mp4 files with Chrome or Brave, both in incognito mode, and directly to the microSD card, as the internal storage is almost full
for some reason, when choosing microSD as download folder, apps don't let you choose the folder, so they get downloaded to /Android/data/com.android.chrome/files/Download
media players don't seem to find that folder, so I use File Manager move them to /DownloadsSD also on microSD storage
I play them with MX Player, but at some random point they disappear (but other files that were in that folder before stay there, the only ones deleted are the newly downloaded ones)

The card is formatted as internal storage.
Do browsers delete files downloaded in incognito mode? Or maybe it has something to do with using the microSD card as internal storage?

Related - try solution there

@beeshyams How much could it take to rebuild the media index?

It didn't work then


text:
How to Cast or Stream all Playback Audio from Android device to a desktop Pc
I have my Nokia 6 always next to my desk, and I'm using a desktop PC Windows 10 i7 64x
32gb ram and also running Voicemeeter, I use my desktop for everything, I can control all my devices from my desktop and I want to be able to listen any playback audio from my mobile device into my desktop audio system...
I don't need to cast the mic audio to my PC, just the playback audio
I'm not talking about streaming music either.
Anyone can help? Please thank you

AFAIK Windows 10 in it's newest release some days ago just got the feature to act as a Bluetooth A2DP sink (e.g pretend it is a Bluetooth headphone). Hence your phone would be able to send all audio signals to your desktop via Bluetooth. https://mspoweruser.com/a2dp-sink-feature-returns-to-windows-10/


text:
How can I invert the colors for only a given application on Android? (and not for all applications)
How can I invert the colors for only a given application on Android? (and not for all applications)
Turning on the "color inversion" option in the settings invert the colors for all applications.

If the app does not use "secure screens" (secure screens e.g. are empty on a screenshot) it should be possible to use an app that creates a permanent overlay such as NightShift but instead of just making the display red it could invert the colors. I have read that some night shift apps already include an invert mode, but I don't know which one allows to configure it in a way so that only some apps are affected.

Not possible on stock Android. Google help clearly says :

Color inversion applies to everything on your device, including media.

If you are on Android 10 using Dark theme and Color inversion together as explained (see link) may be an option in some cases.
If you root your phone and install custom ROM that supports per app color inversion, you are lucky. AFAIK, there isn't an app or Xposed module available for this purpose

Additionally in Developer Options there is a "Force Dark Mode" or "Override force-dark" which will make all apps render in dark mode, regardless if the app is correctly configured (YMMV).


text:
How can I stop a Galaxy S7 from connecting to multiple Bluetooth sources?
In my front room I've got a Bluetooth sound bar under the TV. I also have a portable Bluetooth speaker that I use around the house a lot, mostly in the kitchen.
However the reception from my sound bar weakly reached the kitchen. So when I'm listening to music while moving round preparing food, my phone regularly picks up the sound bar and connects to that too. When that happens the music stops and neither device plays. I have to turn Bluetooth off and on again and reconnect to the portable speaker.
This is super annoying and I find it hard to believe there's no setting to turn off multiple connections or auto connect to stop it happening. Is there anything I can change so that my phone will stick to one Bluetooth device at a time?

Search Play Store for apps. This one seems to fit your needs, since tapping a widget would connect

@beeshyams thanks for the suggestion but it doesn't seem to stop my phone connecting to multiple other devices?


text:
Samsung Galaxy A20, tried root. No OS installed. Sideload doesn't work
I was attempting to root and flash Havoc OS on my phone. I am in TWRP and I don't have the havoc OS image on my device's storage. All of my device has been wiped and there is no OS there anymore (rebooting gives me that warning that I shouldn't reboot cause I don't have an OS). Sideload keeps failing to start when I go to Advanced -> Sideload (in TWRP) and I do have the phone connected to the PC with a USB cable but it doesn't show anything in the File Explorer. adb devices doesn't list anything in list of connected devices and adb push shows the "no device/emulator found" error. Is my phone bricked? Please help me.

Does this answer your question? How to flash custom or stock ROM with Odin mode working? (from a bad flashed Galaxy A20, see image)

most important is disable AVB therefore flash blank vbmeta. also check your bootloader version (last line) make sure to flash only matching ROM (bootloader is not downgradeable, keep lowest possible version you can get)

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

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

Thanks a lot, I already got help with that a while ago. But still, appreciate that.


text:
Is there a straightforward way to lower/increase wifi transmit power on android devices?
As an example I can easily adjust wifi transmit power on Windows 10 in the wifi adapter properties.

Do you know if anything analogous could be done on Android?

Because Wifi is a drain on battery, Android makes efforts to optimize wifi. This is probably why you won't see such possibility


text:
True full backup of android including profiles
Referring to this tread as an example:How to make a full backup and restore (including ROM) using Windows PC via USB?
I would like to make a full backup, This means everything. Apps files profiles settings literally everything.
there are countless "backup options" some will recover partially some come quite close. (Samsung Smart Switch) But always small issues are missing en old skin and app i use uccw. Settings UI layout etc.
countless small irritating things. The bank app is one of them. While i disagree with the policy of reset when downloading it from the store again, I can see why it is done. Things should be different when i make my own backup.
Summarize is there a way to make a "true backup" from a android phone I have root if that helps.
PS. I can absolutely do without the lecture. My Phone/My Money/My Risk. Just like to know what is possible

Titanium Backup is the de facto standard for backup of rooted devices... I have never heard of something it doesn't do in this capacity.

Have you checked with our backup tag wiki already? That mostly sums it up. To my knowledge, the only options are TiBu (as mentioned by @acejavelin), and Nandroid. Everything else is far from being complete.

Migrate


text:
Moto-Z Play with TWRP 3.4 asking for password
I have an unlocked Moto-Z play.  I able to install 'fastboot flash recovery twrp.img'.  When I boot TWRP, it asks for a password.  I tried "default_password" and I changed my screen lock pin to 1234 and tried that.  both these didn't work.  Please help.

I have exactly the same problem and took the same steps. Also no effect so I did a full wipe from within TWRP -> cancel on PW page to get in TWRP -> Wipe -> format data -> yes (actually type yes) -> enter -> back -> reboot -> power off -> boot to fastboot (volume down + power button)-> start TWRP.
Now I can use TWRP (without a PW) but you can never boot to android because your system will get encrypted again and you cannot access your data anymore via TWRP.
Have not yet flashed a new rom but I bet I can since the system is no longer encrypted.


text:
Is it possible to remove the ability to choose between which sim card to send text from default android sms application?
I have this requirement where I need to completely disable sending sms and calls even by accident from SIM 2 which I only use for Mobile data (Sometimes I Force network to LTE and SMS and calls won't be made even by accident when its locked to LTE my issue is when not network is in auto mode). One suggestion to prevent accidental messages is to keep the balance 0. But sometimes I get free messages bundled with packages ;)

The red arrow shows the option for SIM 2 messaging option. Is there anyway to remove that option? (much better without root)
My device is Samsung A30 & android version is 10, Using android messages version 11.1.60.153.

settings - SIM card


text:
Accessing an app by another app
For example: There is a lot of apps about of theme switch in Play Store. If switch dark or light(any theme switcher app), the related app(whatsapp, instagram, etc.) theme switches dark or light. Actually, what i want ask is how another apps access to related apps. How is possible? I hope I had explain, sorry for bad english.

There are quite a few ways apps can access other apps. But in the example you quote, no interaction between apps occur. Theme is controlled by the Android OS. Theme switch apps change global theme settings. So all apps which support different themes (e.g. light and dark) are affected.

Okay, I get it. If I want to do get(to computer app from app) messages or comment(any info), should I use API of related app?


text:
Hard reset for Samsung T550
When I tried to hard restart my Galaxy tablet this is the message I got on the screen
OOIN MODE
PRODUCT NAME: SM-T550
CURRENT BINARY: Samsung Official
SYSTEM STATUS: Official
WARRANTY VOID: 0X0
QUALCOMM SECUREBOOT: ENABLE (CSB)
AP SWREV: S1, T1, H1, R1, A1, P1
SECURE DOWNLOAD: ENABLE
There is an arrow pointing down that says
Downloading
Do Not turn off target

you can safely turn off your device. if you wanted recovery mode try again with other Volume Key. Be aware this device has FRP Factory Reset Protection, that mean even after successful reset it is locked. you need to unlock with bonded google play account afterwards


text:
Google Nexus 7 2013 (6.0.1) no longer works with All 4 streaming (UK)
I have a venerable Google Nexus 7 2013 (OS 6.0.1) that I still use. It works well - or did, up until a few days ago.
One of the things I use it for is streaming - BBC iPlayer, ITV hub, All 4, youtube etc.
It has been fine up to now, when all of a sudden it will not stream All 4. It will stream everything else and all other internet connectivity is fine.
The local network is wifi (2.4/5GHz) connecting with a TP-Link ADSL router to Plusnet Fibre.
Initially I though it was a temporary All 4 problem. But other devices (Android and PC) on the same network stream fine.
First I restarted the app, then cleared the cache and data, then restarted the router, then I reinstalled the app, then finally I did a factory reset. None had any effect. The error is 'An error has occurred - Touch to retry'. Retry has no effect. Unfortunately I do not have access to another wifi network I can try.
I am completely out of ideas. It must be software, all hardware appears fine. The summary is:

Nexus 7 2013 running Android 6.0.1 (not rooted).
Will not stream All 4 (UK).
Will stream everything else.
All other internet connection is fine.
Other devices (PC, Android) on the same network will stream All 4.
Resetting everything had no effect.
Worked fine up to 7-10 days ago.

Any suggestion as to the cause of this would be welcome.

Could be an expired intermediate- or root-certificate which which has been updated but is not present on your device. Enable development option and Android debug bridge on your device and connect the devoce via USB to an PC with Android SDK installed.  Monitor errors that occur on the output of adb logcat that occur when you start the app and try to play a video.

Thanks for the suggestion. Did that, captured logcat output (via Android Studio)  from hitting 'retry'. There's an awful lot of it (2,200 lines) and not at all sure what I am looking for? The link to the captured file is https://drive.google.com/file/d/1uh-roAJzfAunyFPr84_dD_EE1SPKrTqL/view?usp=sharing, or if you could suggest to me what to look for, I'd look.

I would assume that the DrmSessionException by ExoPlayer (a popular video viewing component) is causing your trouble. The actual reason why this error occurs is unknown. Therefore the only chance to get this fixed is contact the author(s) of the app which fails and provide the log you have created.

Thanks, I#ll look into that!

Reported this to All 4 support. No answer at all. Not unexpected, really.

i had the same problem with my nexus 7, worked faultlessly with streaming vids ...untill the 2nd week in Jan 2021 when overnight could no longer get the vids to work, just got a blank screen. I think the reason is that that was the exact time adobe started blocking all computers and devices with flash player. since then ive not had a decent downloadable live streaming vid or web cam - i pay for many of the sites i use.
even my new win10 pc has problems with streaming video whereas before jan 10th and the adobe flash blocking all worked fine !!

Interesting. Different problem though, I think. Mine stopped in 9/2020, Flash was still OK then. Never managed to fix it, never got a response from All4.


text:
Get Notifications from Google chat web to android
I use a work account on google chat on web. But Google suite of that account dosnt have Google Chat/Hangout app for android. And as far as I know, Google chat only gives me push notification on web.
Is there any way I can directly recieive Gchat notifications from my work account to my android device Directly ?


text:
Kodak Android TV Not able to connect via ADB on WiFi
Am trying to change the Homescreen of Kodak Android TV by follow the steps Completely change home screen on Android TV
The TV and Laptop are connected on same WiFi. Able to ping the TV's IP.
But when am trying to connect the TV via ADB connect, it's showing below error.
C:\Intel\ADB>adb connect 192.168.1.105
cannot connect to 192.168.1.105:5555: No connection could be made because the target machine actively refused it. (10061)
Kodak TV Android version 9, Kernel version 4.9.125, Build PTT1.181130001 release keys.
In TV, I've already enabled developer options, USB Debugging.
Am using platform tools adb version (Not Android studio). Is there anyway to connect to TV without using USB Cable?

adb connect can only be executed for an device that has adb over wifi activated (usually this is reset on every reboot). The common way is to connect the device via USB and execute adb tcpip 5555. I am not sure about Android TV devices, if they have adb over Wifi activated by default. You should use a port scanner and check if there is any TCP port open on your Android TV box. May be adb is not running on port 5555 on your device.
Without that command adb will work only via USB. Therefore the only chance I see would be an app that can enable adb wireless mode, however if I remember correctly this requires root permissions if executed from within an app.

So, I must connect the TV with my Laptop via USB A cable and enable TCP before connecting with WiFi. I'll try that.

I used USB Male to USB Male cable and it works fine. adb connect is a no go for my device.

This worked for me. Connected via USB, then prompted adb tcpip 5555 and then connected to the device via wifi: adb connect 192.168.1.155


text:
Stop App from controlling the brightness of my screen
I was on a flight watching movies on the United App. Around 8pm my screen dimmed. It dimmed a lot, to the point of being unwatchable.
Pulling the notification pane (where the brightness slider is displayed) would not let me move the brightness slider. I thought that maybe the auto-brightness was screwing with me. I went to settings, shut off the auto-brightness, and manually turned up the brightness. As soon as I re-entered the United App the brightness fell to the same level.
If I had to guess, the App turned down the brightness to keep you from disturbing other people. The problem is that the levels were too low.
How do I override the App so that I can actually see the movie? Is there a permission that I can change or another App I can use to turn the brightness back up? (Modify system setting is set to "Not Allowed")