text:
Data Transfer to New Phone using TWRP
Fairly easy question. I have a Samsung S3 GT-i9305 LTE rooted, Android 4.4.4. sadly it's coming to the end of its life and its time to upgrade to a phone with a much newer OS (Android 8+). I have a full TWRP backup of my current phone. In principle, can anybody tell me if it's possible to use this backup to restore all my data to a new phone - (it will be a Samsung device of some type). I understand how to root and install TWRP on devices. I'm only asking the question as I cannot find the answer to this rather obvious situation which many people must encounter anywhere. I'm not at all bothered about transferring the apps as they will probably function better as fresh installations on the new device. I also use Titanium backup.
TIA people.
Tim Smith

You seem to be assuming that your TWRP will work on the new device. Almost certainly not (though) reverse is more likely. Restoring apps + app data with Titanium (TiBu) is a better idea rather than TWRP . So what data is left?1. /data/media isn't backed up by TWRP by default unless your TWRP supports this method 2. SMS and call records can be backed up TiBu or other apps. Other data like your important files and media etc are better backed up to PC or extSD and restored. IMO, that's better

TWRP and Titanium backup need root for making and restoring backup. Hence do you really want to root your brand new phone and directly loose guarantee? Therefore IMHO the recommended way is to use adb backup (respectively Helium backup) and backup all apps individually (that allow so). Also the Samsung own backup/migration tools have to be considered.

A TWRP backup would be useless if not for your model only.... You can't restore a backup of a different Model on a different one even thou it's the Same Make.. So I guess the only options are listed above... Titanium backup is really Good for backing up of apps and data...

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

Thank you and sorry for the delay in replying. Titanium BACKUP. Yes, that's the best route I think, although whether TouchWiz would restore on a different Samsung phone remains to be seen. As far as routing a new phone is concerned, I never buy new kit, and so that is not an issue. I will also check out the compatibility of Helium and ADB. My main issue with data restoration is actually the desktop screen itself where I have a large number of internet links I would like to preserve.I'll save them to a bookmarks list in a browser, that should be fairly easy if a little time consuming.


text:
Chrome and Firefox cannot add specific URL to home screen
I'm using Chrome and Firefox on Android 10. I need to add a link to my home screen and I can't find a way to add the specific link.
I know that I can do the following:

Go to the URL
Tap the overflow (3-dot) menu
Add to home screen

However, if I navigate to a specific URL within some sites, like Weather Underground (https://www.wunderground.com/) and follow the above process, it doesn't add the specific URL, it adds www.wunderground.com and doesn't seem to give me any way to edit that URL to reference the specific subpage (e.g. www.wunderground.com/my/specific/url).
Why, and how to solve this?

Have you tried to use a special app like Shortcut To URL to create the shortcut?

I am still having this issue despite @beeshyams fix. Attaching Wikipedia - Mithridatism to my home screen instead creates a link to the home page of the mobile Wikipedia.
Meanwhile, I've found forcing the desktop view of the page, then attaching to home screen works, linking to the correct desktop subpage. (Chrome 83.0.4103.106 on Android 10 on a Nokia 7.2 device)

@D-zap I requested Andrew (who posted answer) to check my solution and he reverted that it didn't work for him too. Hence, deleted my answer// Why it worked for me is still a mystery but that's another question

tl;dr
Using the browsers' "Add to Home Screen" (A2HS) feature may not open the expected link due to the browsers trying to comply with the standard of Progressive Web Application (PWA). Try other approaches instead, like using app widgets or 3rd-party apps altogether (examples below).
Progressive Web Application (PWA), Manifest file, and Add to Home Screen (A2HS)
To put it simply, PWA is an advanced web app that follows some rules. One of them is having a manifest file.

In order to call a Web App a PWA, technically speaking it should have the following features: Secure contexts (HTTPS), one or more Service Workers, and a manifest file.

A2HS is a browser feature to "install" a web app based on the configuration in the manifest file, which is linked on the header tag.
<head>
   ...
   <link rel="manifest" href="link_to_manifest_file">
   ...
</head>

One of the required fields in the manifest file is start_url that will be loaded when opening the "app".

The start_url member is a string that represents the start URL of the web application — the prefered URL that should be loaded when the user launches the web application (e.g., when the user taps on the web application's icon from a device's application menu or homescreen).

If start_url is invalid, it may return the document URL instead (i.e. the exact URL when the page is added to the home screen). However, since the manifest file is configured by the web developer, it might be difficult for end-users to modify/override this value.
In short, when a user adds a web page to the home screen, the browser will check if there is a manifest file, and if there is, it will try to use its value.
Some examples...

Wikimedia (including Wikipedia, Gamepedia, and possibly other wikis) has a mobile front-end extension that will only add the manifest file to the mobile view with start_url always pointing to the Main Page.
The manifest file:
<link rel="manifest" href="/w/api.php?action=webapp-manifest">
The content of the manifest file:
{"name":"Wikipedia","orientation":"portrait","dir":"ltr","lang":"en","display":"browser","theme_color":"#eaecf0","background_color":"#fff","start_url":"/wiki/Main_Page","icons":[{"src":"/static/apple-touch/wikipedia.png","sizes":"160x160","type":"image/png"}]}

This is why adding the desktop version works (and depending on the browser's configuration, it will redirect to the mobile view automatically), but adding the mobile view always returns to the Main Page instead.

Weather Underground always sets the manifest file regardless if it is viewed on desktop or mobile.
The manifest file:
<link rel="manifest" href="bundle-next/manifest.webmanifest">
Containing "start_url": "/", which is basically the domain itself.

Solutions and/or workarounds

Some sites only have a manifest file on mobile view, using desktop mode may mitigate this issue

Some automation apps may allow opening an exact URL. Tasker has "Browse URL" task and users can also add an app widget on the home screen as a shortcut to that task

Some 3rd-party apps can create a home screen shortcut to a URL

Changing user agent may work (e.g. by using XPrivacyLua as mentioned by user beeshyams in the chat room). According to the documentation,

Note: The start_url member is purely advisory, and a user agent may ignore it or allow the user to alter it at install time or afterwards.

(Idea, untested) strip the <link rel="manifest" href="link_to_manifest_file"> tag (e.g. using "ad" blockers) from the HTML when the page is loaded.

Is this behavior intentional on the part of the website, or is this badly implemented PWA standards?

@D-zap It's hard to answer that without knowing the web devs' intent. On one hand, start_url is actually optional for PWA; emptying it will just return the document URL instead. On the other hand, AH2S seems requiring it.

A solution that works for me:

shorten the link with some website like Bitly com
turn off the internet access
paste a shoterned link to your browser and try to reach it
unavailable internet will give you a time to add this "proxy" page to your home screen

Now I have a link, not an in-browser application.

I found that I didn't have to use a link shortener. My use case was going to www.nhl.com/kraken/schedule that would redirect to a particular day's URL. I set my phone on airplane mode, went to the url, then added it to home screen and that worked!

Thanks to the link from @Andrew T, this well-reviewed Android app seems perfect for linking to any website (or even Action within an Android app):
https://play.google.com/store/apps/details?id=rk.android.app.shortcutmaker
Just tried it and it did exactly what I wanted with no fuss and some nice options.

source: Stack Exchange

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

sort: votes


text:
Phone is continuously rebooting/restarting
I have Old micromax phone which runs on Android kitkat. For some reason i switched off/power of the phone. But now when, I press power button, it is continuously restarting.(without appearance of home screen).
I even charged battery to full and even checked that battery is loose or not, there is no problem regarding battery.
Even i had done factory data reset and wipe out the cache partition(by pressing power button and volume key simultaneously and then selecting factory data reset option and remove cache partition option) But that doesn't work!
Phone is continuously restarting! To stop it , i had to manually remove the battery and then put it back again. But again when i press power button, the condition becomes same, it is continuously restarting/rebooting.
Is there is anyway i can fix it by myself? Please help

Bootloader unlocked, device rooted? How long does one reboot cycle take (in seconds)?

@Robert sir, device is not rooted. One Reboot cycle take maximum 7-9 seconds(home screen does not appear.) Please help

Please edit your question and describe what you mean with "But that doesn't work!" when you tried to perform a factory reset. If there are error messages please typewrite them and add it to your question.

@Robert sir, by "that doesn't work" i mean, problem is not solved. That is, though factory data reset is complete but when i press reboot option then phone start but home screen does not appears and then it continues to restart restart restart.....so on

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


text:
Phone can't access internal storage
I have a problem with my relative's phone. He has a ZTE Blade A452 phone with Android, and it seemingly can't access its internal storage at all.
There is constantly an error message "Your internal memory is full", and "Email service has been stopped" because of lack of storage (even though he doesn't use it at all), no new text messages could reach his phone (I switched the text message storage to SD card). When I go to Storage option in Settings, under selecting the default location there is only SD card option, and when I scroll down to phone storage to see how much is used, it says "Calculating..." and never shows the storage. It also shows some weird number in space available. After I removed the SD card, it shows there is around 4 GB of system storage, and 4 GB of user storage, yet none of it is available. Also, when I go to the file manager, I can only see the SD card and no internal storage. I can't even transfer photos from internal to SD card, because I don't see them in the manager.
Here are photos:

Is the phone completely screwed up or can I do something about this?

I have added a tag "Insufficient memory". See the tag wiki and linked questions therein for help in troubleshooting

So this is a bad situation but I might have a solution.. If you really need your photos I suggest you try rebooting into recovery and wipe the caché partitions and see if it helps,  if you have a custom recovery this would be very great as we can extract the entire /internal storage and copy to out SD Card manually and is very time consuming.
You can also try
 Fx File Manager (it doesn't have ads or tracking) and see if it still won't show your internal storage.  If all methods fail, factory reset will be the last resort.


text:
Samsung A8 KG State prenormal
I have problem with KG State prenormal on my Samsung Galaxy A8.
So, I installed TWRP, after I installed SaboorROM, and after connect to WiFi, the device set's the KG state to Prenormal and I was unable to boot into TWRP or into SaboorROM. So I installed Stock ROM (AP: A530FXXSBCTC4 | CSC: A530FODXBCTC2). After install I enabled Developer settings and OEM was already unlocked. So I tried to "date|time changing experiments" to reach KG state checking, but nothing worked. Than I was about 500 hours if KG state will change, nothing :/
OEM: unlocked
FRP: unlock
KG: prenormal
Binary: 11 Android: Pie
How to change KG state?

Same thing happened me as well. On my Galaxy A8 2018, I tried my different things such as changing ROMs, Custom ROMs, and may other things, but ended up triggering KG State Prenormal on my A8 2018, Now I can't use volte. So I using Jiocall.

Apart from not rebooting in a week there's another method that worked for my device (not galaxy a8) but i don't know if it will for you.
So, you need to:

First flash (reflash) official stock firmware, i'd try to flash the version your device had when you bought it, but if you can't, try latest.
Then boot and proceed with the setup. Skip connecting to the internet so you finish it faster.
After you finished the setup, connect to the internet and wait. Enable OEM unlocking in developer settings if needed.
Next log into any valid google account on your phone and wait some time (i waited about an hour).
Reboot to odin mode and kg status should be checking.

If this doesn't work, try factory resetting after that (keeping the bootloader unlocked) and doing everything again but without even enabling developer options.

[...] Sadly there is no workaround just yet. 1 week no reboot is useless if you are on Bootloader 7 (Android 10 or latest android 9 update)
https://forum.xda-developers.com/galaxy-a6/help/official-released-binaries-allowed-to-t4102447
:(


text:
Redmi Note 7 isn't showing up in fastboot (Linux/Windows)
So I am trying to unlock the bootloader on my Xiaomi Redmi Note 7 and therefore I need to have access to adb and fastboot.
I'm very frustrated because I couldn't find a solution within the last 3 hours. My device just isn't getting detected by my computer when it's in fastboot.
I have tried so far:

Reinstalling Google Drivers
Downloading Xiaomis drivers
Disabling drivers signature
Using a different PC
Using 3 different USB Cables (including the original one)
Using different USB Ports
Using Linux Ubuntu

In all cases, my PCs just don't seem to recognize my phone in fastboot. I have enabled USB-Debugging and a adb works perfectly. Standard configuration for USB-Connections is data transfer. But as soon as I put my phone in fastmode manually or by adb reboot bootloader it just doesn't work.
It does not seem to be a driver issue. When in "normal" ADB mode, it's showing up as a normal Android device without any errors (in device manager and "adb devices"), when in Fastmode it doesn't show up at all. Windows say the device is disconnected and there are no other unknown or faulty devices which I could try installing drivers for. fastboot devices just returns nothing.
What I mean is, it doesn't show up in fastboot devices or in Windows device manager or even lsusb in Linux.
I'm just desperate at this point. What am I supposed to do? Thank you very much for any help...

Just to make sure: Does the device in any USB mode work normal (shown as offline in adb devices is not normal). E.g. can you successfully copy files via MTP to or from the device? If not something general is wrong with the USB port of the devices (the other USB components like cable, computer or USB port you have already checked).

Yes, when it's turned on anything works perfectly fine. It is recognized by windows, I can access files and it's showing up as an adb device

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

This doesn't really help me

No one has an idea?

@Robert So I tried using another device just for test purposes... What should I say, with a Huawei that I had laying around fastboot devices worked on the first try. No problems. Does anyone have a clue what the problem could be with my phone since it definitely has to be the device itself that is faulty... Anybody? Please...

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

@alecxs Cant be the same problem. My PC got no problems with Redmi Note 5 or Huawei p20 lite in fastboot, they both are seen and can be used. It must be a problem with my redmi note 7 specifically

Hi @Rudolf I have the same issue (adb works for my Redmi note 7 but fastboot is not showing any device on Windows/Ubuntu), did you manage to find a solution?

Hi @Matthieu I'm sorry but I have never found any solution for this. It seems to be an issue on the hardware level with the/my phone since fastboot works with every other phone I've tried. Sorry for the bad news but it seems to be an issue that can't be fixed by drivers or a reset


text:
Samsung S7 - Developer options not showing after build number pressed 7 times
Developer options not showing after build number pressed 7 times. It even says that the developer is turned on already, but when I search for it under "about phone" on the setting app, it doesn't show up. My purpose is to turn on OEM.
Can someone help? thanks!!

This is called RMM protection and is a security feature of Samsung

thank you, that is probably what is going on, although in the guide you have sent me, it doesn't talk about not showing Developer options, but rather just the OEM toggle missing from the developer options, which I'm not sure can apply to be the same. I will try to search a bit more and add to this post if I solve the problem :)

btw, this is what shows up in my Download mode:
ODIN MODE
DOWNLOAD SPEED: FAST
PRODUCT NAME: SM-G930F
CURRENT BINARY: Samsung Official
SYSTEM STATUS: Official
FRP LOCK: ON
Secure Download: Enabled
Warranty VOID: 0 (0x0000)
RP SWREV: B:8 K:6 S:7

@user323215 see "How to know if you are locked" pt 2, the "enable orm  unlock" is missing on your phone, and your download mode screen reads "FRP lock on"

@user323215 you should take a look at "How to unlock" pt 1: basically one should flash stock rom to it and leave it untouched for 7 days, then akaik the oem unlock should show up - keep in mind though, the page doesn't apply to S7, proceed at your own disk

@user323215 anyway all of these should give you enough pointers in researching the procedures applicable to your S7, i think those steps (turning off RMM, flashing etc) should be similar to S8/S9/A8 etc

@user323215 you might have already fixed it, but there you go: https://youtu.be/e74V5ftfTgk


text:
Run script using init.rc doesn't work
I'm trying to run a script that exectues when the device has finished booting. This particular device does not support running scripts from an init.d directory, which is why I am using init.rc.
The init.rc file has been modified to include the following code
on property:sys.boot_completed=1
start initAsic

service initAsic /data/local/tmp/runn.sh
user root
group root
oneshot

The boot image has then been rebuilt and flashed to the device. The changes can be confirmed by viewing the init.rc file located at /
Currently I am only using a simple test script (testScript.sh) which issues the following command
echo hi >> /data/local/tmp/test.txt

The testScript.sh and text.txt file has 777 permissions set and both have been pushed to the device using adb push.
Their current location is /data/local/tmp/
For some reason it seems that my script is not running, as I can't see any text being written to test.txt.
Am I missing something?
Could it be an issue with SELinux?
My device currently has SElinux set to permissive. This was done via altering the BoardConfig.mk file and doing a rebuild of the boot.img.

Does this answer your question? How to run an executable on boot and keep it running?

Add disabled keyword to service. After reboot check log: dmesg | grep -C5 initAsic.

Apolgies for the late repsonse and thanks for your suggestions.
@alecxs I have seen that post and replicated most of the steps in one of the outlined processes but not step for step - the only difference being the locations of the files that are being run. Didn't have any success.
@IrfanLatif I've added the disabled keyword to the servies and ran the dmesg command. It seems that my suscpicon was correct, as it's returning service initAsic does not have a SELinux domain defined. I should be able to sort out the issue now - will let you know how I go and post an answer. Thanks.

By running the command dmesg | grep -C5 initAsic I saw that I was getting this error code returned
service initAsic does not have a SELinux domain defined

The issue what that I needed to add the line seclabel u:r:init:s0 to my init service as this is a requirement of init. The complete service now looks like this. The disabled keyword has also been added as suggested by Irfan.
service initAsic2 /data/local/tmp/runn.sh
seclabel u:r:init:s0
user root
group root
oneshot
disabled

Also note that SElinux must be set to permissive to allow this service to run or  preferably - as setting SElinux to permissive is a security risk - defining the appropriate rules for SElinux and using the modified policy.
More information on the topic here: https://android.stackexchange.com/a/207647/218526
This post was where I found the suggestion to add seclabel property. It also has more useful information regarding the SELinux issue I was encountering: https://stackoverflow.com/questions/43600261/init-warning-service-myservice-needs-a-selinux-domain-defined-please-fix

What's the purpose of adding seclabel when you are making SELinux ineffective by setting it permissive? Disabling SELinux is a security risk. Instead define context and/or inject proper SELinux rules. See details here. Or at least use some permissive context like Magisk's for your service only. See my answer to the question marked duplicate by @alecxs.

tbh @IrfanLatif I'm not sure why it worked. Setting SELinux to permissive should have made it ineffective but for me it seems it did not - I will look into it a bit more to confirm that it wasn't another factor that contributed to it working. I do understand it's a security risk but for my purposes (rapid prototyping) it is ok. In the future I plan to properly define SELinux rules.

It worked because seclabel field is a requirement of init that you fulfilled. The point is, seclabel is of no use when SELinux is set to permissive. It's no more protecting the service or any other file/process.


text:
What’s the difference between stock Android, Android One, and Android Go?
I'd like to know what the difference between stock Android, Android One, and Android Go is?
Each is a flavor of Android, each originates from Google and all have a few things in common.
Is it just the theme/skin/UI that's different or is there something else?

Just click on the tags below your question and you get to the tag info page that contains a short summary. E.g. for "stock-android": The version of Android originally on the device as supplied by the manufacturer or phone network, including any customizations, alternative interfaces and updates.

Stock Android is meant for Pixel devices/other OEMs who like to keep the Android experience stock. Pixel devices are guaranteed to get 3 years of OS updates and security patches. Features, functions, skins, update policies all change when it is ported by other OEMs.
android-one is a Google initiative in collaboration with OEMs to provide stock Google experience to users of other OEMs while guaranteeing 2 years of OS updates and 3 years of security updates. See Two years of operating system upgrades (Android - one) - how is it implemented?. More importantly, users are expected to get quick updates but that's not been the case with all OEMs. Also, in theory it's supposed to be stock experience but OEMs don't always follow suit and cut corners.
Android-go
is meant for entry level devices which have less hardware capabilities and less storage available (<2 GB) . Goggle provides apps for these devices in Play Store. For example, Maps for Android go is smaller than the regular maps app and obviously has lesser features. For more see this. AFAIK, there are no guarantees for OS / security updates


text:
How to remove unmarked icons from app drawer?
I have few icons at the bottom of my app drawer, that are unmarked. I don't know what apps they represent and look like an unfinished installation. They look like this:

How can I get rid of them?
I already tried cleaning cache of Trebuchet and Play Store.
This may be a bug in OS, because I am running unofficial build of LineageOS 17 (Android 10 based) on my device. Nevertheless, is there a way to remove those icons?

Did you reboot after clearing cache of launcher? That helps at times. If not use free version of this app to clean system, and also corpse finder (since you indicated aborted installs)


text:
Accessing the home screen without the capacitive home button?
I dropped my OnePlus One, and now the bottom half of the touchscreen doesn't work. I connected a mouse to disable the lock screen, and I can now work with most apps (apart from Strava and the Camera) by rotating the screen 180 degrees (turning my phone upside down). (By the way, the phone is running a recent build of LineageOS.)
My main issue now is that I can't switch between applications. When I receive a notification, it appears at the top of the screen, and I can pull down, and touching the message opens the app. But I can't open other applications, as I can't access the home screen. The only option I know of is to reboot.
The OnePlus One has 3 capacitive (touch) buttons below its screen, and these also don't work. The middle one of these would normally bring me to the home screen. Is there another way to access the home screen other than using these 3 touch buttons?

The 3 capacitive buttons are known as the "nav bar", and are normally off-screen on this phone. To use an on-screen version of the nav bar instead, go to Settings:
Settings -> System -> Buttons -> Enable on-screen nav bar


text:
Deducing problems using device logs
kinda new to debugging here.
I'm running a custom rom on my device and I've started to get random reboots. I wanted to look at logs and find out. But I don't really know what to look for in these logs.
Any ideas as to how I should go about doing this?
Any help would be really appreciated .

In case of reboots usually the kernel log is relevant. See for example this answer. If you can manually "trigger" the reboot also adb logcat may contain valuable information. Regarding the question "what is relevant": Just collect several logs right before the reboot occurs and then compare the last entries. If something is present in all logs it might be relevant.

Yeah, I had to ask around for a few telegram channels too, but I finally found out that it was just kernel panicking for weird reasons.


text:
RMM bypass - my Samsung Galaxy S7 does not show the developer options
I'm trying to access the developer options, while pressing 7 times on the build number, which triggers the reply "developer  mode has already been turned on", although I don't have these options anywhere below or above my "about phone". In a previous question a user here said that my problem was RMM related, which I'm not completely sure, but I'm willing to try to fix.
According to these guide: https://forum.xda-developers.com/samsung-a-series-2017/how-to/guide-root-install-twrp-samsung-t3747535 ; I need to flash latest full stock fw, and and wait 7 days, although since I'm from Portugal, I have a lot of options of firmaware as seen here: https://www.sammobile.com/samsung/galaxy-s7/firmware/SM-G930F/MEO/
Should I install the 30th of March version of 2020?

after tapping buildno 7x seven times try this app https://play.google.com/store/apps/details?id=io.androidstudio.developeroptions


text:
How to make a text file read-only in a non-rooted device?
I wanted to make a file read-only (440)in internal storage but it shows "failed",as it seemingly requires root permission but I can't unlock bootloader as of now so is there any means we can do the above task?

Not the exact solution but with root access you can set immutable flag (chattr +i) on file on underlying real filesystem (in /data/media/).

How to get root access, is it possible with unrooted phone?


text:
Blocking toast pop-ups without Xposed
I'm currently running on a OnePlus 7Pro with OOS 10.3.2 (Android-10).
I've been using an Xposed module called "Untoaster Xposed" to selectively block toast popups based upon regex matches of the contained text. This works well, but now I am considering switching to Renovate Ice, which doesn't support Xposed or TaiChi, and I'm wondering if there is any non-Xposed-based method for selectively blocking toast popups in this or a similar manner.
I'm willing to write a custom app to do this, if it is the only alternative.
But is this even possible without Xposed?
Thank you in advance.

I think it would be best if you tell us whether you want to selectively block toasts from an app or do that in wholesale (that is, all toasts to be blocked from an app). If in wholesale, inbuilt appops can do this (for some apps).

Well, ideally, I'd like the same functionality as "Untoaster Xposed". It ignores the name of the app and just blocks by means of a regex match of the text within the toast. However, if that is not possible, blocking all toasts for a given app would be my second choice. I'll check out appops


text:
Need to delete this file to be able to backup data on TWRP
My Xiaomi Redmi K20 Pro is rooted with TWRP as recovery. Unfortunately, after a system update, I became unable to access my system. I was only able to access TWRP and the files through it.
While creating a backup with TWRP, I encounter the following error
I:Error adding file '/data/anr/3i6xjEcwwZbkn6mZ,+ccwD' to '/data/media/0/TWRP/BACKUPS/c51c11bd/2020-05-05--09-33-29/data.ext4.win000'
Error creating backup.
I:ERROR tarList for thread ID 0
Error creating backup.
I:InfoManager saving '/data/media/0/TWRP/BACKUPS/c51c11bd/2020-05-05--09-33-29/data.info'
createTarFork() process ended with ERROR: 255
Backup Failed. Cleaning Backup Folder.
I:Copying file /tmp/recovery.log to /data/media/0/TWRP/BACKUPS/c51c11bd/2020-05-05--09-33-29/recovery.log

I need to know where this file is. Without it, I can backup my data partition. I've tried OrangeFox and it tells me the same thing.
I've been looking through TWRP but was unable to find such file. In TWRP, I browsed the folder through the install button and it was empty, nothing was showing at all.
How can I find the location of the folder and delete the contents so I could proceed to backup my data?

@RBBE in TWRP mount /data and browse to /data/anr. You can delete all files there as those are just logs of app crashes. Or at least delete those with special characters in their names like the one you mentioned. Isn't that file there in /data/anr/?

I believe the "install" button only shows zip and compatible image files for flashing & sideloading purposes, not showing all other files.

@RBBE from your comments, your actual question is "how to browse to /data/anr/ folder?"

Yeah th original intent was to find the location of the folder and delete the contents so I could proceed to backup my data.

the browser is in TWRP - Advanced - Filemanager and the option menu lower right corner. btw for full backup don't forget 'adb pull -a /sdcard' afterwards (not included in data.ext4.win)

just mount /data and type rm followed by the file name in single quotes. TWRP has a build-in Terminal, but i recommend to do it from adb shell
adb shell rm '/data/anr/3i6xjEcwwZbkn6mZ,+ccwD'

Where can I get ADB shell?

https://www.xda-developers.com/google-releases-separate-adb-and-fastboot-binary-downloads


text:
How to force android to use Bluetooth for telephony? (if bluetooth is connected)
I have some problems with Android telephony in my car.
I connect my android phone over bluetooth with the car (the radio has a build-in telephone function).
Since the car does not support bluetooth audio, I connect the phone to the 3.5mm jack of the car.
The audio works pretty good, music, navigation, etc. is sent over the 3.5mm jack.
Now when I want to call someone (or get called) I have some annoying bugs.
With my old smartphone (Sony Xperia X Compact, Android 8, using the 3.5mm jack of the phone) I had a 50% chance, that when I start a call, the phone chooses the 3.5mm jack as an output, so while dialing I had to switch to bluetooth in the dialer app.
Now, with my new smartphone (OnePlus 8 Pro, Android 10, using a USB-C to 3.5mm jack adapter) the bug got way more annoying. When the call starts and is dialing it always uses bluetooth but as soon as the call partner takes the call it switches to the 3.5mm jack and I have to switch back to bluetooth manually (resulting in me not hearing others until I switch).
Now my question is: Is there any way to force android to use bluetooth for calls when bluetooth and 3.5mm jack are connected?
I found some pretty old questions here (the other way round) where apps have been suggested that don't exist anymore.
I also already tried the following with tasker (without any luck):

I created a new task that sets Bluetooth voice transmission to on
I created a new profile that executes this task when I'm connected with my car's bluetooth
I created a new profile that executes this task whem I'm connected with my car's bluetooth and a call has been accepted

Sadly this didn't work.


text:
How to share files across multiple user in Android 10
I am implementing a app in which I am creating one file using openFileOutput API in Android.
The file is saved to /data/data/com.xx.xx/files/
Now when I am switching to secondary user(multi user) I am not able to access that file from my app.
Earlier we used to have obb directly where we can share files across multiple users. But in Android 10 it is not possible.
So in Android 10 what are the ways to share files across multiple users?
Or
Where should I place my file so that it can be accessed from secondary user(multiuser) in my app.

Related: How to share files between regular account and work account?

With root access you can mount sdcardfs without unshared_obb mount option to continue using OBB directory for file sharing on Android 10. However it may break some apps using OBB files. I haven't tested/studied it in-depth.


text:
How do I remove images from the Downloads folder that are visible from within certain apps, but not visible from any file manager?
Background: I used to use the Share with another app button on Google Chrome to send images from Google Chrome App to my Text Messaging App. It would go to my text message but not be seen in the Downloads folder.
Now, if I have a file stored in the Downloads folder that I want to attach to either a Text Message (via Messaging App) or an Email (via Gmail App), when I go to upload that file from the File Explorer within one of those Apps, all of the images that I have ever "Shared" in the method described are listed there, and can be clicked and uploaded as though they are stored in the system. However, when I use a File Management App, they are not there.
I simply want to remove the images from the Downloads folder, or from appearing as though they are in the Downloads folder to certain Apps (i.e., Messages and Gmail). Also, I'd like an appreciation of what is going on, but I think that would be clear upon a solution being presented.
I am not interested in rooting my phone.
What Has Not Worked:
• Clearing cache of Google, Google Chrome, and Messages Apps
• Deleting the Downloads folder in its entirety.
• Downloading multiple File Explorers and Hidden Image/File Apps to Search for the Locations of the Files
• Granting storage permissions to Google Chrome Apps

The file manager shows the truth. The other apps show the Android media service cache. The simplest way to update the cache is to reboot the device. Or use one of the "sd-scanner apps".

That's because those images are still in the servers of those particular apps and not in your device. They will be removed eventually.

While rebooting the device did not work (these images have been cached for over a year and were in fact on my device), your 'Android media service cache' comment gave me some insight. After clearing the cache on all Android system apps, the problem has been resolved. Specifically, I believe it was the 'Download Manager' system app cache. Thank you.

That's because those images are still in the servers of those particular apps and not in your device. They will be removed eventually.
Edit: The problem has been solved by the OP himself. I did not quite understand the situation when I wrote this answer. Please refer to the comments bellow.

That is not true. The images could be clicked from the Download folder and added to the email or text message from those apps. This could be done despite a lack of connectivity. They have also been on my device for over a year now, in some cases. It is not a transient issue.

@Joe So you are saying that you can't access them directly from the downloads but you can access them through certain apps?

Yes. I have (mostly) resolved the issue as commented above by clearing the cache of my 'Download Manager' Android System App. There are still two greyed out files that were there before, but unlike the other dozen or so images, they are broken links and cannot in fact be attached to a text or email.

Update: Clearing the data in addition to the cache of the Downloads and Download Manager system Apps has entirely solved this issue.

Good to know. Mark something as the answer and close the question.


text:
Under what path is the data for Firefox extensions stored?
/data/data/org.mozilla.firefox is the directory in which Firefox's data is stored on Android. Where are Firefox's extensions' settings and data stored in there? The best I can tell is that they're going to be stored under /data/data/org.mozilla.firefox/files/mozilla/${profile}.default since the names for everything outside of that folder appears to be for temporary files, the application's cache, and network-related things.
These are the paths that I'm sure do not contain extension data or that I'm sure do contain ALL of the extension data:

/data/data/org.mozilla.firefox/files/mozilla/${profile}.default/browser-extension-data

On Android 10, Firefox 68.7.0
/data/data/org.mozilla.firefox/files/mozilla/1q4ydoub.default/extensions
I am not sure if the number before .default is specific to version or something else
For more details, see Firelord's answer here Where Firefox for Android is keeping add-on generated files?
Edit: You can paste file:///data/data/org.mozilla.firefox/files/mozilla/1q4ydoub.default/extensions in the search bar to see details of extensions, size, last modified time stamp


text:
Getting a non-PIE Kitkat app to run on Marshmallow
I own a Nexus 7 (2012) and it is possible with this tablet to run a software called 'bcmon' that will put the wifi chipset in monitor mode and let you inject de-auth frame to capture WPA handshakes.
This is only supposed to work on kitkat but thanks to a simple tweak I got it running on lollipop.
You can go to the GitHub's page and get the release if you own any of the devices that are supported by 'bcmon'.
Now my question is: why is this working on lollipop and not on marshmallow ?
unlegacy android is out with kernel 3.4 and it is possible to install nethunter... you see where I am going: kali linux + frame injection on native wifi card.
The issues on marshmallow is that even though 'bcmon' application runs well, the binaries that come with it run empty, no access points are detected with softwares like besside-ng or airodump.
EDIT:
Comes from the 3.4 kernel, at which point I don't know but I flashed the unlegacy one on Lollipop and the issue is the same now than with marshmallow

bcmon AFAIK requires a Broadcom Wifi chipset. However the Nexus 7 2012 has an AzureWave AW-NH665 (according to iFixit teardown.

@Robert what doest AFAIK mean ?
bcmon supports the nexus 7 2012 model mobile and wifi, and it does work natively on kitkat. The link I'm giving is a version that will work also on lolllipop. But the question is about using it with marshmallow, which seems to be requiring a different approach.

May be your post is just a bit unclear. In the first sentence you claim that bcmon works on the nexus 7 2012 (if the device is in a list of supported devices I have not seen this list) but the rest of your post sounds like you never managed to start the actual binary, hence you don't really know if it works or not. Therefore I added a comment that all your effort may be useless as the Wifi chipset of the Nexus 7 is not by Broadcom, hence the chance is high that potentially bcmon will never work on this device no matter if you solve the PE problem or not.

I edited so that it can be clear. And I don't know where you have your infos online but it's wrong, it is in the list of supported devices, and the chipset you claim is not on the tablet is.


text:
Audio on my phone while using earphones is sometimes good and sometimes isn't
I have Android 10, phone is Umidigi F2
Sometimes when I use my earphones audio is good but sometimes it's bad. I can't find any reason for that, for example I'll use my phone for some time while having earphones plugged in and audio is good, but after a couple hours I'll use my phone again and plug in earphones and audio would be bad and it would garble.
Any help would be appreciated! :)

Tried changing the ear phone? Cleaning the port?

First thing first, you should know that there a few basic solutions you can try, just to make sure that it’s not a hardware issue causing this:
Check the phone’s volume: Simply press the volume rocker up, in order to increase the volume. Maybe the phone was on silent, which affected the media volume as well.
Restart your phone: A simple reboot can be the solution for many problems.
Clean the headphone jack: If you’re having this issue only when the headphones are plugged in, try cleaning the jack. Also, try another pair of headphones, since it could be them causing the problem.
Clean the speakers: There some smartphones which have some pretty unusual grills for the speakers and they tend to accumulate a lot of stuff which eventually blocks the speakers from emitting sound. However, don’t use a needle or a toothpick, since this can instantly damage the speaker. Instead, rely on a Q-tip for this.
Clean the cache of your music app: Go to Settings > Apps and look for your default music app, then tap on it. Look for the Clean cache button and tap on it.
Check for any moisture or water-inflicted damage: Turn off the phone, remove the battery, as well as the SIM and memory card, and see if there’s any moisture or residue inside the phone, which can affect its normal functionality. Eventually, by using the dryer on low heat, keep it for a few seconds over the phone.

Thank you for the time you spent on writing the answer and thank you for answering, I'll try these things and hopefully it will fix the problem! :)


text:
Disable Wallpaper Autoresize and Scroll
My RCA Voyager Pro (Android 8.1.0) recently got a firmware update. Since the update, I have not been able to set a wallpaper without it "zooming in."
Take these screenshots for example. When I select the image I want to use as my wallpaper, it allows me to choose the orientation and zoom before clicking "✓ Set Wallpaper."

Before the update, the wallpaper would be set exactly as it looks in the preview. However, after the update, the wallpaper will become enlarged and will scroll as I swipe from right to left:

Here is a side-by-side comparison of how the wallpaper is the in preview (before the wallpaper is set), and how it is on home screen (after the wallpaper is set):

Is there a way I can disable this "auto-zooming?" I miss the way it used to be, where my wallpaper was the same on the home screen as it was in the preview, and did not "scroll" as I browsed my apps.


text:
Recovering from bootloop/can't boot in Android-x86 OS
I asked this question on Super User, but with no luck and no answers, and was advised to post here, to get help from Android specialists.
I installed several Android-x86 OS, to play with them, and to test which one is the best for my needs, Bliss OS, Prime OS, Phoenix OS...
I'd like to know what is the safer way to play with the build.prop for instance.
If I break something, and goes in bootloop, it's tiring to reinstall everytime.
I already had a bootloop because of the build.prop editing, and one because I tried to install Xposed. I had to reinstall, as I don't know how to repair my system.
There is no recovery software or recovery mode existing right now for the x86-based distros. Not even an APK to test the build.prop conformity, backup it, or letting the ability to restore it, (surprisingly).
I used Android emulator before, like Memu, and it has the very clever feature to let me save my virtual machine session each time, make copies and export them.
So, my question is how to find a way to recover my system.
Could I try to repair a bootloop from a live CD with another system for instance?
How to repair bootloop from editing wrongly system files (build.prop)? Could I do a script or something to automatize the backup of important system files, like it's the case on other system (Windows recovery, Linux backup solutions...).
Or, at least, if nobody though about that, I'd like to be able to save my configuration, so, if I reinstall, I could at least find my configuration again.
I know how to backup apk, I do that with Titanium and other tools, but what about the configuration

the reason you won't get answer most people use android on mobile devices


text:
How to install the app with its data using .bak files
Background
I created a local backup of my apps in my Xiaomi Redmi Note 4 before installing another MIUI ROM.
Problem
During transfer of that backup to PC or some other way(I don't know how!) the descript.xml file is missing from backup folder so now the local backup app in phone isn't showing the files for restore.
Question (HELP NEEDED WITH)

How to create the descript.xml file?

OR

I checked the layout of file by taking a short settings feature backup and seeing its XML file but it's very complicated and requires a lot of information about .bak file!..Can anyone share a layout type so that I can create a .XML file?

OR

Suggest any app that converts .bak files to apk with keeping there data. Or installs the bak files directly as apps in phone!

I really need those apps data. Its really important.

I assume you were using some Xiaomi tool for creating the backup. Does this tool run on-device or on your PC?

@Robert the tool is available  for backup to local storage in settings app itself. I don't think it can be used in PC.


text:
What is the difference between fastboot command flashing and flashing using a flash tool(like mi flash tool flashing)?
BACKGROUND
Xiaomi has its own Mi Flash Tool in which we select the .bat and flash.
But if we use fastboot commands then we only need system.img, boot.img, recovery.img, cache.img and userdata.img
So I checked .bat files using notepad++ and they contain commands for various other files too like modem etc that are present in images folder.
But phone gets booted perfectly with both methods!
QUESTIONS

Are those other files not important?
How the fastboot mode that uses less files work too?
Does those images only flash the other files? Because in tutorial the person said to copy all files of images folder to adb folder.

it's not true what they say, various other partitions like modem etc are important. just because you flashed only boot system vendor ... - that doesn't mean your device will work without - all partitions (erase them you will see). afaik 'fastboot flash' only works for unlocked bootloader. MIFlash not only run fastboot.exe, it can flash via Qualcomm HS-USB QDLoader 9008 with fh_loader.exe, too

@beeshyams see this post. My phone was hard bricked. I got it fixed and when I flashed OrangeFox recovery and enabled OTA and flashed full MIUI 11 rom again (as the recovery says so that it can detect OTA in future) but it gave me error 7. And when I turned it on it got stuck on Mi logo. Mi flash tool gavee system flashing error so I flashed using fastboot commands. And my bootloader is unlocked.

@beeshyams so are these critical partition important?  Will not flashing them cause any errors because my phone is working fine now except one problem that I can't update system launcher app of MI (whenever I install an APK of its new version from apkmirror it gets installed but  when I add any widget or any new app is added then it gives me error saying system launcher has stopped.

@beeshyams how to flash those critical partitions?

@alecxs hi, so I should flash them?... How?.... Should I take a backup or those partitions won't delete all data?

no. because firmware/baseband isn't changed very frequently, i doubt there is a difference between MIUI 9 and MIUI 11. but can be flashed from fastboot ('fastboot flashing unlock_critical' may required)

@alecxs will those partitions be flashed if I use re-download the update package from updater app and install that from updater app only?

@alecxs yeah and so far I haven't faced any problems except that system launcher stopping one. Is there fix for that? Because it's really not possible to arrange icons with the old version.

idk but guess yes. i assume it depends on update package. it usually make some checks

@alecxs ok thanks I will try it.

@alecxs my doubt is solved. Please post your views/comments as answer to my question.

@alecxs this is the error message I see when any widget or new app is added .

i don't understand java. try another launcher if the problem remains it is not launcher error


text:
Extend usable area of the screen
I have an old unrooted android phone with the bottom zones touch not working. I followed this Post to resize my screen to avoid the dead zones. But the menu launcher icon is near the middle of the usable screen and also the menu area is reduced to almost half (see the images below). Is it possible to remove the gap between menu/menu-launcher and navigation buttons so that I can get more usable screen?
Home Screen
Menu

Have you tried tweaking the density too?

Yes, I did. But the gap was still there.


text:
Data recovery from formatted userdata partition
I did format the userdata partition while installing a new ROM accidentally. But after formating and installing a new ROM, I did backup full userdata partition within TWRP with dd method for data recovery purpose. I tried testdik, photorec and other data recovery tools. They all found something but not useful/meaningfull because, all directories/filenames are weird, I mean in UTF8 format (although there are some meaningfull files but not I'm interested in :( ). My phone is OnePuls 6T running Android 10 on it and I know FDE and FBE concepts. But while backing up my userdata even it is encrypted, TWRP works well and decrypt partition before work with my password.
So, why some files are in well situaition and others not. If there is encryption issues shouldn't be the same for all files.
Is there any comment? Thanks.

for FBE some files aren't encrypted that files can be recovered in theory. but i doubt you did format userdata, it is not possible to recover files from formatted previously encrypted partition. TWRP wipe option does not format it just deletes files with rm https://android.stackexchange.com/q/213275

@alecxs with FBE too, just like FDE, all files are encrypted (though FBE allows adding an exclusion list to AOSP code). The main difference is that some files are Credential Encrypted (CE; decrypted using user credentials) while others are Device Encrypted (DE; decrypted using only hardware-backed credentials). So the DE files are auto-decrypted on boot (that's how Direct Boot aware apps work). But if one performs a factory reset, DE files too won't be decryptable because keystore state is reset on factory reset. Just to clarify.

I thought that I'm not facing  encryption issue  when I decrypt it with TWRP and took a clean backup. Then there is no need to deal with it.

@IrfanLatif with "some files" i tought about /data/unencrypted folder (which is magisk testing for getting encryption state) or /data/misc /data/system (where keystore and credentials are stored) - i never used FBE and didn't know that, thx for clarifying


text:
Audio resumes whenever bluetooth connects or disconnects - how do I stop this?
This seems to be independent of which bluetooth device I connect/disconnect to (car audio, ear buds, etc), and is also independent of whatever the last app I was listening to (VLC, Pandora, etc).
When I tell an app to stop playing, I'd like it to STAY stopped... not automatically pick up where it left off simply because I stopped or started my car, or got in/out of range of one of my bluetooth audio devices.

Just to clarify, is the issue strictly related to Android Auto, or also on general Android devices (e.g. phones, tablets)?

This is independent of Android Auto.  I don't even have that installed on my phone.

You can try Bluetooth Connect & Play app. It basically meant to start a specific music app playing when a specific Bluetooth device connects. But you can also select "Stop music from playing" option to keep any app from starting when the car connects to a Bluetooth device. I faced the similar issue on my Toyota and it did help.

Well, the app seemed to do the trick - thanks. It's unfortunate (and confusing) why I'd have to have an app to turn this behavior off, but hey... problem solved.

Good to hear that @Gazpacho. If it solved your problem, then you may accept my answer by clicking on the "Check" mark right next to my answer. When it turns green it means you've accepted the answer. Just a suggestion. It is up to you.

Using the app to restart VLC on Android 10 tablet. Works nicely with Bluetooth headphones. Haven't yet tested, but real reason I want it is for use in car. Currently pauses VLC when car ignition turned off: expecting VLC to restart when I start the car again. App very usefully sets option by target device, so I can leave smart TV unaffected.

Mate, this app wants access to make phone calls.  What the heck?


text:
How to enable USB debugging on a wiped device?
Device name : MI A1
USB debugging is not enabled and wiped the Dalvik/Cache, Data etc.
Now the phone just bootloops to MI loading screen. Please suggest a work around.
So basically there is no OS. I am not able to flash a ROM since there's no USB Debugging.

it is not possible to flash via usb-debugging (and therefore not required). btw if you see loading screen the OS is still present. just format userdata and wait up to 15 min on first boot. if you modified any partitions (for example flashed TWRP) you must install no-verity-opt-encrypt-6.1.zip to disable dm-verity

usb-debugging = adb. adb is not used for flashing firmware. Flashing is done via fastboot or via a recovery ROM like TWRP. In a recovery adb can only be used to transferring the image data to the device (adb sideloading), but TWRP is the software that flashes it.

Thank you guys. That helped me a lot ! I was somehow able to access internal storage and flashed a stock ROM.


text:
Mi 9T Pro System Destroyed
So, I wanted to install Lineage OS on my MI 9T Pro and I've made a mistake (I know why.)
I've use TWRP to access to recovery, I'll erase all folder (system/data/vendors/cache) and I'm trying to install lineage, but my OS folder was in a folder into my zip and an error was occured.
In the panic, I've rebooted the phone, and a message "The system was DESTROYED" appears on my screen, but I've access to Fastboot. I've trying some Fastboot erase (Data/system (no access)/Boot/cache) AND !
I've lock by mistake my phone with a Fastboot oem lock, but I succeeded to unlock it with Mi software.
I'm trying an Fastboot devices, all are okay I've a device connected, but, if I try an adb devices i don't have devices connected.
I have push a miui folder (~90mb) in boot, and now it restarted only in Fastboot mod, no other message, no other possibility. and I've tried a reboot in recovery, nothing, same in "android OS mod", only Fastboot reboot.
I've trying to flash with MiFlash a global rom but error 0xfffffff has occurred.
Today, I'm totally stuck and I don't know what to do, I don't have backup for a potential restoration.
Impossible to have access to debug mod to my Mi 9T Pro because I don't have access to OS and developer mod.
Apparently the battery is charging (always ON) with USB.
If u have some tricks for me, it's with pleasure!

download stock ROM and flash boot.img recovery.img system.img vendor.img from fastboot 'fastboot flash  ' and format userdata + cache 'fastboot format:ext4 ' ( means full path to image on PC)

@alecxs I've some stock rom on PC but I've only boot.img in zip folder.
do u have a link for download all img ? I can't find this files...

https://xiaomifirmwareupdater.com/archive/miui/raphael check for "fastboot" in download description

@alecxs thanks u it's all good now !


text:
Blue line following my touch on the screen of Huawei devices
Sometimes strange 'worm' and 'dust cloud' starts to follow my finger when browsing with my Huawei Honor 7.

When the finger is not touching the screen anymore, the line disappears.
I can also draw over the navigation buttons at the bottom of the screen.
What is going on here?

It is Huawei's Knuckle Gestures.
From Use Your Phone with Your Knuckles,

Knock the screen with a knuckle and hold it until a blue dot appears. You can then drag your knuckle [...]. As you move your knuckle, a blue line will appear on the screen [...].

Also, here is Phandroid's YouTube video demonstrating the feature and a screenshot of it.


text:
How to prevent file corruption in SD card during unmount?
I have a custom device running Android 8.1. I am mimicking a partition of the internal flash storage to be used as a removable storage.
At boot vold mounts the storage and creates the mount points.
From an android app, I am able to use storage manager APIs to access the storage and perform operations such as mount, unmount, etc.
Problem is, occasionally, I am getting file corruptions on the SD card when unmounting. I am saying 'on unmounting' because I see the files corrupted when the same partition is enumerated to computer as USB mass storage after unmounting.
I do make sure the files written to the card are 'flushed' and later a 'sync' is done on the shell as an extra precaution before unmounting the volume using the android storage manager APIs
Storage is available in android app at /storage/D80A-0F16.
/dev/block/vold/public:179,27 on /mnt/media_rw/D80A-0F16 type vfat (rw,dirsync,nosuid,nodev,noexec,noatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/mnt/media_rw/D80A-0F16 on /mnt/runtime/default/D80A-0F16 type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=1015,mask=6)
/mnt/media_rw/D80A-0F16 on /storage/D80A-0F16 type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=1015,mask=6)
/mnt/media_rw/D80A-0F16 on /mnt/runtime/read/D80A-0F16 type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=9997,mask=18)
/mnt/media_rw/D80A-0F16 on /mnt/runtime/write/D80A-0F16 type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=9997,mask=18)

Can anyone think of a scenario I might be missing here which causes the file corruption?
Edit:
Another observation I have is, if I restart the device the filesystem seem to not get corrupt, which makes me think that for some reason the files  are not getting synced to disk correctly when unmounted?
What can I do to make sure the files are getting synced to disk when unmounted?

Please do not post console/text output as screenshot. You can simply mark the text and copy it to clipboard. Then edit your question and paste the text in it.

External storage is exposed as emulated filesystem in isolated mount namespace for every app. So you need to take into account mount propagation. Filesystem must be un-mounted from all namespaces. Or all apps (their native processes) must be killed before un-mounting in root mount namespace. Usually vold handles all of this nitty-gritty automatically. You can verify, however.

Irfan, Its only one app that does the mount/unmount using storage manager APIs. but other apps which have permission to read /write  are notified with a broadcast to let them know of the storage and a 'sync' is performed before actual unmount.Is that a clean way to do it? At the moment I am looking at corruption of one set of 4 files written by one application, they are small files and disk is not unmounted when app is writing them. but still once in awhile I am finding one or more of the files getting corrupted, pars of one fie ends up in another or parts of file is missing.. etc


text:
Bluetooth input for video recording : Android 10, One Plus 7
I have seen this question Record video with external bluetooth mic (ie headset) posted 8 years back and app solutions do exist but not with Android 10,so it's not a duplicate of this question or other questions which suggest apps (they don't work for me)
I am helping my wife  record instructional videos on OnePlus 7, running stock Android 10 (not rooted).
I want to use Bluetooth audio input instead of the device mic, as it would provide better flexibility.

I don't find any settings to enable Bluetooth in camera or elsewhere and internet search hasn't helped.
Blogs recommend apps but surprisingly none seem to work reliably with Android 10. BTmono works sometimes and is not a reliable solution, and similar story with Camera fv5

Any suggestions, including apps, accessories are welcome except

Separately recording audio and sync with video, that's too much work
Involving signal processing hardware
Root
Laptop
Accessories like mic (I have asked for accessory advice on SE.Video Production
and hope to get better answers there)

Finally cracked it! Using any Bluetooth headset (even supporting BT 5.0) like Crossbeats
and recording with stock camera app or with Open Camera with audio source set to external doesn't work.

Solution

I had a Bose BT2 Bluetooth headset, which I haven't used in the last 7 years and surprisingly charged up and gives me about an hour of usage time which is more than enough. I wanted to use this to improve the quality of recording since it has excellent noise cancellation. You may as well pick up any recent BT headsets of your choice and of recent vintage. Profiles supported by Bose headset are
HSP, HFP, A2DP - SNK, AVRCP

Download Bluetooth Mono Router. Blogs and YouTube videos recommend BTmono but it hasn't been updated for Android 10 and won't work. Both these apps have the same functionality - they let you play BT audio to those old headsets which only support voice calls and not media. I am not clear as to how this let's you overcome the limitations of recording but it works and asked a question here.You can use either stock camera app or Open Camera (audio as external in settings)

In case you can't record, activate developer options and from Bluetooth settings try AVRCP 1.3 and SBC codec combination (you need to enable Bluetooth to be able to change these settings). These seem promising. In my case I used default.

Tip: Make sure to disconnect Bluetooth when playing back the video, else, you may find no / low audio and think it doesn't work

Permit me  a little rant about One Plus tech support with interactions over several mails. YMMV. Documenting it just in case it helps others.

They do not respond when you ask them how to record using Bluetooth.

Using wired Lavalier solutions need an extra adapter in some cases and even then no guarantees. Reason : Non standard implementation of USB C to audio adapter (Shades of wrong resistance used in early models)
. They claim on mail that TRRS is not supported , being a third party affair and when confronted with standards do not reply


text:
how mount system partition in recovery mode to recover vold.fstab file in / etc
I have a Chinese tablet Genesis GT 7320 Androd 4.1.2. It is rooted using kingo.
I changed the vold.fstab file on the / etc partition system to vold.fstab.bkp.
The table was locked and did not start anymore. Action or recovery mode by pressing the
power and volume buttons above. I have access installed on the macbook and access to the tablet
through the adb shell. After running commands with busybox. I'm a layman and I took
time to discover the adb and busybox commands. However, I can't
access a / etc partition system to rename the vold.fstab.bkp file to simply
vold.fstab. I saw on the internet that you need to mount a system partition. I tried several
commands I found on the internet, but I didn't get results. Below are some of the directories I have access with adb shell. Can someone help me?
busybox ls
cache                     init.rc                   sbin
charger                   mnt                       sys
data                      proc                      system
default.prop              res                       tmp
dev                       rk29-ipp.ko               ueventd.goldfish.rc
etc                       rk29-ipp.ko.3.0.36+       ueventd.rc
init                      rk30xxnand_ko.ko.3.0.36+  ueventd.rk30board.rc
init.bootmode.emmc.rc     rk30xxnand_ko.ko.3.0.8+
init.bootmode.unknown.rc  root
busybox ls /dev/block
loop0       loop5       mmcblk0p2   mtdblock10  mtdblock6
loop1       loop6       mmcblk0p3   mtdblock2   mtdblock7
loop2       loop7       mtd         mtdblock3   mtdblock8
loop3       mmcblk0     mtdblock0   mtdblock4   mtdblock9
loop4       mmcblk0p1   mtdblock1   mtdblock5   platform
busybox ls /sys/block
loop0       loop4       mmcblk0     mtdblock2   mtdblock6
loop1       loop5       mtdblock0   mtdblock3   mtdblock7
loop2       loop6       mtdblock1   mtdblock4   mtdblock8
loop3       loop7       mtdblock10  mtdblock5   mtdblock9

mount -w /system then rm /system/etc/vold.fstab and mv /system/etc/vold.fstab.bkp vold.fstab (with busybox prefix maybe)
https://www.wikipedia.org/wiki/List_of_GNU_Core_Utilities_commands (please also read Related questions on the right) http://man7.org/linux/man-pages/man8/mount.8.html

The system showed the following message when I used busybox mount -w / system: mount: cannot read / etc / fstab: No such file or directory

which recovery do you have? check /system is already mounted with mount or df and remount it writeable mount -o rw,remount /system or find /dev/block -name system and mount -w <partition> /system

I used the guidance, but the system issued the following messages when I typed the commands below:
busybox mount -o rw, remount /system
mount: mounting remount on /system failed: No such file or directory
busybox ls /dev/block
loop0
loop1
loop2
loop3
loop4
loop5
loop6
loop7
mmcblk0
mmcblk0p1
mmcblk0p2
mmcblk0p3
mtd
mtdblock0
mtdblock1
mtdblock10
mtdblock2
mtdblock3
mtdblock4
mtdblock5
mtdblock6
mtdblock7
mtdblock8
mtdblock9
platform

Hello, is android system recovery version v4.2.41

I typed the command busybox find / dev / block -name system and the system issued the following message:  /dev/block/mtd/by-name/system

Congratulations!!! It worked!! Thank you very much for your help.


text:
File Safe password recovery in honor 9n
I want to recover honor file safe password. And I forgot the password & security questions... How to recover the password & my files. Any instructions from here?

if you forgot the password and security question of your device then you may change your password through Huawei ID. When you try to try to put the password there you get an option of Forgot password>> another verification method>> Huawei Id.
If you forgot your Huawei ID and password, then you have to reset your device with the proper backup of the device data :(


text:
Can/How to Update Alldaymall a88s Android 4.4 to 5.0?
Recently received donated tablets for our school. I need to update the Android software in order to use them. I have looked under settings, also in the Google Playstore & did a factory update. I need Android 5.0 to run the PaySimple app we use for our card reader. I have looked for manufacturer information but cannot find anything on them (manual, website, support). They are Alldaymall a88s tablets.

it is not possible because there is no official update available https://android.stackexchange.com/q/120553 https://android.stackexchange.com/q/181337 https://android.stackexchange.com/q/224047

@alecxs Thank you! I am new to Android & tablets. So I cannot upgrade the Android software like you can with Windows (uninstall windows & install the new version)? There were about 50 of these donated to our school & we won't be able to use them if we cannot update them.

no, android must compiled from source code device specific. request the source code from manufacturer and find a developer who can do it. another solution maybe ROM can ported from other device with Allwinner A33 chipset


text:
I'm trying to download Blue Kik, but it keeps giving me the 'App not installed' message
I'm using a TCL LX (which I wouldn't doubt is the problem, due to how bad the phone is) and I'm looking for a simple solution. I've tried installing it multiple times, deleting and re-downloading the APK, but nothing seems to work.

maybe android 8.1 is not supported. ask the support or post in forum

In my case, I get this message if there is not enough storage space on the device, so I would check that and try to free up space by deleting old files or unused apps.


text:
How do I allow two apps on Android to open the same file type? i.e. Not have to choose a default
We have two applications that run on the Android platform that both use XML files to transfer data. (Android v8.0.0)
However when we open either app, the OS always asks "Which one of these two apps to you want to open this file with by default?". We don't want to set a default as we need both apps to be able to open XML files as required by their individual function.
Is there a way to tell Android "This file type can be opened by any app that wants to do so"?
At the moment we need to go into App settings and Clear Default on each app after we have run it in order for the other app to "take over" as default when we run that. Once we have set default  to either app, then the other one throws an error when it tries to open files because it is not the default app
That's not really a viable way forward.
Is Android even capable of this file type handling duality? Is there a setting we can change to allow files to be opened by "non-default" apps.
Changing the app code is not a short term solution, but if Android truly cannot handle the situation then we may need to, but that will not solve the problem for our users right now. Changing a setting in Android to allow what we want to have happen would be quicker and cleaner.
Thanks for your help.

While app development is off-topic here, you might want to clarify However when we open either app, the OS always asks ... Are you opening the app or opening the file and then that dialog is happening after a list of apps show up?

Opening either app. Both apps will try to open any XML files waiting to be processed in their own storage area. That's when the argument starts.

My guess is that your apps are using a third party library or a different app to do file selection. See: https://developer.android.com/training/basics/intents/sending#StartActivity Behavior is directed by the app selector. If you are using a third-party library you'll have to go back to both apps to change the behavior. If you are using any OEM or third-party File Manager, that is out of your control. Note this sounds like a failure in specs or QA so off-topic here.

Looks like Android can't be configged or rigged to allow this, so it seems like this is purely an app problem.
Thanks all.

No it is not possible to assign multiple apps as default for a single file type.
if you open a file, how can a computer know which application YOU want? you can only define one default or let the computer ask each time (no default)
Therefore i don't understand the logic of your question

Thanks for that. We are opening the app rather than the file. The asking to choose a default pops up when the app tries to open an XML file.
I get the feeling we will need to go back to one app developer and get the code changed so Android isn't feeling the conflict.
We don't want to set a default app at all, but Android insists on there being one whenever a file of that type is opened.

that's definitely some issue with your app. i have two different video players installed. both of them will open mp4 files without asking for default


text:
Tap-to-wake anywhere without activating anything when the screen starts dimming
I'm an iPhone user. Sorry for that.
But in my defense, I was given a recent Android phone and like it!
However, I noticed a difference in the Auto-Lock behavior that is, to me, utterly annoying.
Maybe people here used to the thing might enlighten the poor iPhone user that I am.

On an iPhone, about 10 seconds before entering auto-lock, the screen dims. Same on Android.
Then, tapping anywhere on the iPhone screen before the lock occurs, the dimming stops, the iPhone is ready to be used again and that's it. The location where the "tapping" took place is not activated. It's simply ignored.
However, on Android, while the screen is dimmed and one can barely see where the tapping takes place, the "tapped" location is activated! So whatever was tapped is run!

Most of the time, tapping the dimmed phone is just to wake it up. So, I tried to educate myself, and find an icon-less area to tap whenever I want to wake up the device. But sometimes it's within an app...Compared to the no-brainer action on an iPhone, that's really annoying.
Searched the settings, the iPhone behavior does not seem to be possible on an Android phone.
This is the reason I wouldn't switch to Android.
Most probably, Android users are used to that behavior and do not care (/ don't know that the behavior could be different).
Is there a way to set that iPhone behavior on Android?

It's the default behavior and I don't know if it can be changed. You can try an app to prevent screen from turning off when you need or switch to default behavior. There are plenty of other apps which offer an alternative (search for "tap to wake up screen") but they don't actually do what you want or apps like this

that is exactly why I don't tap the screen and scroll to wake the screen up

As Pouya Danesh suggested, instead of taping try swiping up/ down, it will wake up without registering any tap.

@PouyaDanesh A  simple no-brainer less error prone simple tap solution would be better, but thanks for the workaround, not ideal, but better than nothing.

You can try the sleep option. You can do this by going to settings>display>sleep and then choose an option according to your preference. Some phones(like Redmi or Mi phones) come with a never sleep option whereas others can stay awake for a maximum of 30 minutes.

Thx. The problem is not the time-to-sleep, it's the "dim-wakeup".


text:
How to fix phone rejecting root
I have infinix x559c I have tried using root using Spflashtool and also fastboot it didn't work even when I unlock bootloader it flashed successfully but it didn't boot to recovery and it shows below my recovery "Api supported :3 " how can I fix it .
I used the guide here : https://wap.infinix.club/forum/736/969855

I have edited it

thanks for the link to tutorial. unfortunately these are just links behind links. would you mind posting the exact steps YOU did, please?

https://android.stackexchange.com/q/214902 https://android.stackexchange.com/q/212931


text:
Allow Apps Access to /data of Other Apps
I recently moved from ES File Explorer to MiXplorer and discovered that I can't access the /data partition of other apps (/data/data/com.example.app/). I can only see /data/data/com.mixplorer.silver/ with MiXplorer, while ES File Explorer can see everything just fine. I can use Termux to work with files of course, but that's the entire point of having a file explorer. Is there anything I can do?
I'm running DerpFest 10-Official-RMX1921-20200407 (Android 10, April 5th 2020 patch) off of a Realme XT rooted with Magisk 20.4 in case it matters.
Thank you for your time.

In MX Explorer settings → More settings → check "allow root" . That should prompt request for root
Check if root rights have been given to MX Explorer in Magisk Superuser (if not check logs, if it had been denied)


text:
Xiaomi Mi5 bypass Mi Account
I got an old Xiaomi Mi5 from a friend that has a Mi Account lock.
He forgot his password so I am not able to use it because the phone is bound to his account.
Is there any chance for me to flash a new firmware on the phone and bypass the account lock?
Do I need to unlock the bootloader first?
Thak you for your kindness!

maybe expert can do 1,
2,
3,
4,
5,
6
https://android.stackexchange.com/q/167445

you won't be able to unlock the bootloader without the mi account & password ... & without an unlocked bootloader you won't be able to do a fastboot flash

ok thanks, such a pitty


text:
Rsync-like downloads over adb?
NOTE: I asked a similar question here several days ago, but I was told to re-post it to "Stack Exchange Software Recommendations", which I did.
Now, I posted this current question to "Stack Exchange Software Recommendations", but I was told to re-post it here.
I hope this current question indeed will now be accepted here.
I know that I can use adb from my desktop computer to take a backup of my sdcard ...
adb pull /sdcard/ .

This downloads everything from my sdcard to the specified directory on my desktop machine. However, I'm wondering if there is some way to download in an rsync-like manner: i.e., only downloading and updating files that have actually changed between my device's sdcard and the directory on the desktop machine.
Or is there perhaps a non-adb-based way to do this?
Also, I want to initiate this from the desktop machine, not the Android device.
Any ideas?
PS: This is an Android-10 device, a OnePlus 7Pro (GM-1917) running OOS 10.3.2. However, the answer to my question is probably unrelated to that, since it has to do more with adb than the android device itself.
Thanks in advance.

Per the comment by alecxs, above, adb-sync gives me the functionality I'm looking for: https://github.com/google/adb-sync
Some day I'll also try Adebar.
Thanks to alecxs!

I tried the original adb-sync (https://github.com/google/adb-sync), but I couldn't get it to work due to an encoding error. The better-adb-sync fork (https://github.com/SelfAdjointOperator/better-adb-sync/) worked well, though.
Just note that the command line options are a bit different from the original, e.g. when you want to pull files from the phone (and not copy to the phone from your PC), you should use --pull instead of --reverse.

it's unclear if either of these does differential transfers, i.e. if I have a 10GB database file and one record is added at the end, is it going to only transfer the block(s) that changed?  Or is it just mimicing rsync in terms of knowing which files changed?

the reason I ask is I use rsync for this (via sshelper on my phone) but too frequently rsync "hangs" in the middle of the transfer for no discernable reason.

The better-adb-sync fork is now the official recomendation.  adb-sync is deprecated and it's readme provides the link:  https://github.com/jb2170/better-adb-sync

Run SimpleSSHD https://f-droid.org/en/packages/org.galexander.sshd/ and use rsync like you would with any other ssh-enabled server.
rsync -r -e 'ssh -p 2222' --info=progress2 user@192.168.74.123:/storage/emulated/0 ~/backup/sdcard

It's not exactly "over adb" but you could enable USB tethering on the phone and use the corresponding phone IP address to get a good transfer speed.

Are you associated with this site

I am not, nether am I associated with https://play.google.com/store/apps/details?id=org.galexander.sshd
F-Droid is a well known android app repository


text:
How to make phone say something from commandline
I want to send a command which makes the phone say something. Is there any way I can install such a command, or is there one that I don't know about? The phone is rooted so I have full access to it and can do whatever is needed

use automation app

Do you want to play pre-recorded audio files or are you talking about a text-to-speech system?

im talking about a tts (text-to-speech) system

Could you provide more detail, like what kind of input command and syntax you prefer to use? Something like say <insert sentence here>? Also, is the command run directly on the Android (using Terminal apps), or from PC/other sources?

i am using an ssh app which has SU permissions. the root permission works properly, so that's ok. I would like to use a basic "say " syntax.

i have connected to the ssh app via my MacBook air's terminal.

Related using Termux

this would work, but I am connected using an ssh app. If you know the path where the termux commands are stored, then this will be useful!
I also searched using ls -l -R | grep tts, and find -name tts, but nothing came up


text:
What is the meaning of "Unfortunately, the process android.process.media has stopped."

It keeps popping up when I start using the phone, shortly after it has booted. The phone is a Samsung Galaxy Note 3 (SM-N900), running Android-5.0
I flashed the phone and installed a fresh copy of the stock Android-5.0 the one I got it with (OTA update). What could be wrong with it. I need an interpretation of this error message. Thanks.

Look at the error message in logcat then you see more details.

android.process.media appears to be, as the name suggests, "Media Storage" crashing. Clearing "Media Storage" cache doesn't work when another app is causing it to crash -- and this app is almost always "Download Manager". Clearing the cache of both apps fixes it:

Settings -> Application Manager -> All apps.
Find "Download manager", and select "clear cache".
Find "Media Storage", and select "clear cache".

Some odd websites suggest disabling "Media Storage". Well of course it will get rid of the errors... But you won't even be able to access the pictures you took from the Samsung "Gallery" app, or even take photos or screenshots.
Source: I had this problem again with my good old Note 3. Writing this to help others because most websites don't help much.

As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.

While your answer might help solving the issue behind (and probably indeed does), OP was asking for background of the meaning: Why are your actions needed? How do they solve the issue? Moreover, what IS the underlying issue? It would be great if you could [edit] your answer and include those details. Thanks in advance!

android.process.media is a common issue which can occur anytime and is caused mainly because of two applications, the Download Manager and the Media Storage.
try the following

Go to Settings > Applications > Manage Applications and make sure to look under the ‘all’ tab. Scroll down and find Google Services Framework and clear the cache and data for this one.
After doing that, scroll down and find Google Play. Tap on it and clear cache+data for this one too.
Now press the back button and choose Google Services Framework from all apps > Force stop > Clear cache > OK
Now open Google Play from you app drawer and when given an error, click OK.
Turn off your device by holding the power button and clicking on Shut down/ Reboot

What has android.process.media to do with Google Services Framework or Play Services? The former is an AOSP service which is always there even if device has no Google Services.

I just consider my own experience and some tips that I know. I suggested clearing cache /data, it can be a relevant solution, one of those. also, there are such suggestions as uninstall CCCleaner lol, but I don't know if OP has one.


text:
I recorded two finger pinch with getevent but when replaying it the touch cannot release
I am trying to write some automation script for the Android emulator I am using. The emulator does provide simulation of pinches with keyboard and trackpad, but I would like to do it through the Android console, so I recorded the pinch with getevent, converted it to decimal and replay it with sendevent. I do observed the pinch but when it is done, the touch is not released and this mess up the simulations later on. I observe that if BTN_TOUCH UP event is send along with the pinch, it won't work. I cannot even do things like sh zoom-out.sh && sleep 1 && sh release.sh (assuming that I have the scripts to zoom out and releasing the touch in these 2 files). The only thing that works is through calling sh zoom-out.sh and then sh release.sh on a new line, which is wried to me.

you probably forgot BTN_TOUCH=UP (014a=0) make record of single tap only with 'getevent -lc10 /dev/input/event'

@alecxs Yes, I do am missing the button up event, but I don't know why I cannot record that. My touch screen events are in event5 and when I getevent -lc10 /dev/input/event I see the button up event while in dev/input/event5, there isn't.

no need to record when you know whats missing

@alecxs That is right but I am new to Android and I see no documentation about sendevent, it doesn't even come with a help. Can you please point me to some resourses. I tried to resolve the macros with getevent -lp /dev/input/event5 and I find KEY as 1, BTN_TOUCH as 257 or 258 depending on it starts at 0 or 1. However that doesn't help.

https://i.stack.imgur.com/SEeJ3.png

there is no documentation, only this xda thread you probably know already


text:
How incremental OTA works in AB oTA update
I understood AB OTA work flow in android.
I could not able to understanding, How incremental OTA works in AB update in AOSP.
 Full OTA_V0:
 A-->Active state
 B-->Inactive state

 Incremental OTA_V1:
 A-->Inactive state
 B-->Active state

 Incremental OTA_V2:
 A-->Active state(how incremental works here, because this slot is inactive in Incremental OTA_V1 ).
 B-->Inactive state

Thanks in advance.

Does this answer your question? A/B (Seamless) update device questions

The Google documentation is not clear on the combination of incremental OTA updates on A/B devices but I would assume that after applying OTA_v1, changing the slot to B and rebooting after some time the changes from B are also applied to A (or may be the whole partition is copied?). So that the next incremental OTA update can again applied to the inactive partition (plus switch afterwards).

Related: How does update_engine validate a differential update-image with dm-verity enabled?


text:
Deleting the security app in miui?
Read contradicting things about deleting that bloatware default security app (redmi note 8 pro). Some say its safe to do so but others say its tied down to some core system functionalities. Has anyone tried it? Thanks.

Deleting a system app can cause many problems! And talking about security app in MIUI then why do want to delete it in the first place? It's not a bloatware either!

If you delete it then you won't be able to give permissions to apps that requires like display over other apps etc.

Let me share an example. I have a Lenovo tablet and it's very old so in order to delete some bloatware I rooted it and then deleted hangout, Google Play music , etc apps and after reboot for every tap on screen I got some app failure error. Now you can see deleting some minor apps caused this problem and you want to delete a major MIUI app.

The app is good in many ways: 1. If install an APK and it has some even minor sort of virus then it won't get installed due to this apps virus protection software. 2. You are running out of soace then just click on cleaner it will help you delete your cache. 3. Many apps running in background and consuming a lot of battery then just click battery& performance and problem solved. 4. Phone running slow then click optimize and boost.

Also if you are thinking to use external virus protection software like Quick Heal, etc then it won't work in MIUI ROMS(both stock and custom) due to heavy customisation of MIUI ROMs. Try installing external virus protection software and check it for a week you will understand the problem.

SecurityCenter.apk can not be disabled/frozen from adb shell, you will end up in boot loop How can the SecurityCenter.apk be disabled/uninstalled safely?


text:
I can't record calls on my Verizon Samsung Galaxy A51
I just bought a Verizon Samsung Galaxy A51 and installed 5 different call recorders but none of them worked. What can I do? I really need to be able to record calls.

it could be the phone is android 10 and the call recorders are not supporting that

According to a big computer magazine one of the few good working Android 10 capable apps for call recording is Cube AR (requires subscription).

I tried cube acr the free version but it didn't work. Who said that subscribing would fix the problem?


text:
Notifications don't pop up
Recently some of my apps have stopped notifying me about messages or any other things. So, I don't receive notifications in time, but then I open an app and see all those messages that were actually received several hours ago without me knowing about it.
If that's not about the notification settings (I've checked that one and everything is OK there), what can it be?
The notification issue is in Whatsapp, telegram, and sometimes Facebook.
Android 9
Thanks for any suggestions!

Have you ensured that those apps are exempted from battery optimization?

I'm rather sure they're exempted. Don't think my phone considers them "optimizing"..

Push notifications are received via GooglePlay Services. Make sure this is app is also not disabled for battery saving and allows background network communication.

If they are not being shown it means notifications for the apps are disabled. What you need to do is go to app settings and enable notifications for the individual apps.


text:
Recording Microsoft Teams meeting on Android smartphone
I'm wondering if there is a way to record Microsoft Teams meetings with a smartphone; I'm using a Motorola Moto G6 Play and the record button doesn't appear.

I tried with a screen recorder, but Android doesn't allow you to record internal audio unless you root your smartphone (in this case the warranty goes away).

I have an explanation to why the recording button might not appear on your app: The administrator of your team might have disabled the option to record the meeting. Are you able to record meetings on other devices?

Hi @MehulArora, yes i can record the video by using a laptop.

Have you tried clearing the cache and data of the app?

@ReddyLutonadio how can i do it? I found only a video to do it on laptop.

Go to Settings -> Apps (or Apps & notifications). Look for Teams, select it. Under storage, select clear data. All data from Teams will be cleared from your phone. Restart the app (it will be as if you are using it for the first time). Select your account and give the necessary permissions. Try joining a meeting and check if the problem persists.

@ReddyLutonadio, i did it, but the problem persists.

To view the recording button after joining a meeting, click the 3-dot then on the list that appears, you should be able "Start recording". Clicking it will start recording the meeting just like on the desktop app.

Hello @ReddyLutonadio, thank you for your reply. The strange thing is that on my smartphone there isn't the function "start recording"...i'll upload a screenshot as soos as possible.

Possible causes -

Hopefully the reason is not this one, but anyways; an answer on Quora reads:

If you are trying to record in a private team channel, then you cannot record the meeting, as the team owner ideally disables the recording option for security purposes.

Another answer:

This is an issue with the version of your teams. You can check for system or app updates and then try recording again.

Another:

Teams meeting recordings are currently disabled for customers whose Teams data is stored in-country, if Microsoft Stream is not available in that country. A new admin setting will allow customers to turn on meeting recordings if Microsoft Stream data residency is not yet in country.

You can try clearing app cache, app data, reinstalling and updating your app if an update is available. Else, with the technical restrictions you have, I find it difficult for myself to cook a solution.
I'd always prefer going root. I know your warranty will terminate if you root the device; plus no point in potentially soft-bricking a smooth-running device just to have been able to record meetings. But rooting offers you so many tweaks that given a choice, I'd surely make the bargain. I think there are ways to delete the flash record from a device too; so there should be some way to keep the warranty intact

Also note that this question may be a possible duplicate of https://superuser.com/questions/1522669/microsoft-teams-why-cant-i-record-a-meeting

A solution is to open Microsoft Teams in the browser and here the record button is accessible.

For any reason, when we are not able to use App specific record feature, we can use generic recorders available for android. I use XRecorder on android phone, it works great! We can record android screen with audio.

Most smartphone manufacturers have screen recorders built-in these days.
If you want also want to record the video, on Samsung devices, you can use the Screen Recorder : https://www.samsung.com/au/support/mobile-devices/using-screen-recorder/
For other manufacturers, you should be able to find the steps required to record, by googling, for example : "Google Pixel screen recording"
Another option is to use another phone (or a tablet) to record it. Most phones have a built-in app to record audio such as Samsung Voice Recorder.


text:
How to recover deleted notes from Android device - Huawei P8 Lite?
I'm very stuck in solving this problem (from more that one year!).
I started accidentally the hard reset of my Huawei P8 lite. Luckily I've saved all my photos and document on my SD. The problem is that I had important informations on my memos. I didn't use that phone more to not overwrite data. I explore the features of many software recovey in the market, but nobody has the memos recovery functionality.
I would like to know if it could be possible to recover my memos (only that!) in a safe way, without using external softwares, using Windows or Linux environment (and, if is possible, what is in your opinion the best method to unlock the bootloader before, because I was not even able to do that).
[I am a new one in the community, so tell me kindly if I'm not respecting some rule]
Thank you very much

Please explain “run the bootloader before”.

Usually all recent Android devices come with enabled device encryption by default. Performing a factory reset deletes the used encryption key and hence data recovery is usually impossible.

@IrfanLatif Sorry, I'd mean to unlock the bootloader

@Robert But why can I recover photos from the internal memory of the device? (I tried with Wondershare doc. phone" and with "Android data recovery")

I was talking about recent devices. Did not notice that we are talking about an ancient device here, released 2015 Android 5 or 6 installed). Your phone is very old and I assume has multiple vulnerabilities. Those data recovery tools use one of the vulnerabilities to gain root access (any other app could do the same) and to search for recoverable files.

first you need to know the package name of the memo app. second you need to recover the /data/data//databases/*.db and *.wal files (binwalk may find it). third you need payed software (no free alternatives available). fourth a expert who can restore entries from broken database https://www.forensicfocus.com/Forums/viewtopic/t=13930/ these are 4x nogos sorry

what you can do is get a hexeditor like HxD and search for known text in partition dump https://android.stackexchange.com/q/208106

@alecxs thank you very much! I will try... But do I have to work on the device or can I first copy the databases on storage and then work on it?
How could I know the package name of the memo app?

partition dump mean offline mirror of userdata partition. this device comes with Lollipop, this mean userdata is encrypted. it has Kirin 620 chipset there are no methods for unlocking bootloader. you must root device with Kingroot and dump decrypted userdata

Thanks. You are very kind! How can I vote your answer?

@alecxs how can I know the package name of the memo app?

enable usb-debugging, open memo app and run adb shell dumpsys window windows | grep Focus

Thanks a lot. I will share with you the output

Kingroot was not able to root my phone...


text:
External SD card problems - how do I go back to device storage?
On a new phone with Android One/10 I mounted a 256GB sd card. I formatted is and added it to the system as internal memory (device storage), which is 128GB. Now the system reports a 512GB SD card. I let the system move data to the sd card, and that data is now gone. I can see thumbnails of photos and videos, but can't open or play them. I have a backup, so can restore, but I need to know what is happening and find a way to undo this mess.
After unmounting the card I cannot make photos anymore. It reports too little memory, with about 100GB free on the internal storage. Reformatting the sd card results in a message to choose what to do with it. Choosing external storage and formatting gave the 256GB card back, but internal storage (/sdcard) is gone. In Total Commander, I cannot open it and get an error. The camera app won't open anymore. Evernote refuses to work. Etc etc...
There are hundreds of websites with instructions on how to add internal storage, but none about undoing it.
How can I get the system to use the device storage again?

There is an option "forget SD storage" in Settings > Storage. Clicking that restored device storage, and all seems to work normally.