text:
How to disable work Outlook notifications until the next morning?
Just installed my working Outlook on my phone and now I want to disable the notifications for this app until tomorrow, 9:30 in the morning. I really do not need to be notified for every email that someone sends me after business hours. However, the problem is that the maximum time I can snooze the notifications for seems to be 2 hours.
How can I disable them for a longer period?

I think the Android Work profile is a perfect solution for this case.
First you would need to set it up such that your work Outlook account (and app) is under your work profile. After that you can schedule your work profile to "pause" at certain times.
When your work profile is paused, it will not send any notifications.

This will work, but the problem is that it seems that I should allow explicitly, every new app that I install to bug me in that work profile, and this is a work around that I  want to avoid.

I'm not sure what you mean... Do you mean that you need to install each app that you want in the work profile separately (next to the personal profile)?

Not to install, but to click it from the list and thus to allow it

Maybe your work profile is different from mine, but I don't need to click anything individually. All my apps in the work profile (Gmail, calendar, WhatsApp) are automatically deactivated every day at 19:00 by the work profile schedule. I then stop receiving notifications from the work apps. The next day at 8 in the morning the work profile schedule starts all work apps again and I receive any missed notifications. Note that my personal apps (e. g. also Gmail and WhatsApp, but with a different account) are unaffected, I keep receiving notifications for them.

The idea is that for every new app that I install, I have to manually add it in the work profile, if I want to be getting messages from it and this is the workaround I do not like.


text:
SD Card doesn't show up after attempting to format as internal storage from stock crDroid Android 10 Files app
After attempting to format my SD card as internal storage for Samsung Galaxy Tab S 10.5 LTE (SM-T805) using the preinstalled Files app on crDroid (Android 10), it is no longer recognized by my device. I believe it is now completely corrupt, as even Windows is unable to read it after attempting to use an SD card adapter. It's not even listed in the disk management program.
Please help as I was dependent on my SD card as I only have 16GB on this device.
Edit: after formatting it in twrp it shows up in my device however im still not able to format as internal as some java error comes like i said before...

https://imgur.com/a/LQ82msb
first pic is when the storage is formatted as internal and the second is after doing as external

please try these adb shell sm commands (from question) and check which one throws the java error (line by line):

Does this answer your question? SD card not appearing when formatted as internal

All fine. That is per design. Once formatted MicroSD Card as adoptable-storage, it becomes part of your Internal Storage and will disappear. Because it is an encrypted file system, no PC card reader can detect it.

Well thats the problem it dint become adaptable storage my storage still shows 16gb but the sd card disappeared...coming to think about it a java error was thrown at me after attempting to format but it was one of those disappearing notifs at bottom of screen....

source: Stack Exchange

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

sort: votes


text:
Trying to get TWRP working, healthd is not present in stock ROM
I'm a TWRP maintainer for the SM-T110 (Samsung Galaxy Tab 3 Lite), and I'm trying to fix some issues I get while booting up TWRP. The device halts for a while during boot time, and then TWRP starts. Here are the logs that are related with the issue.
I tried getting the healthd binary from the stock TouchWiz firmware, but it is not present in /sbin/healthd where it should be. I've also done an entire find search, and no file named healthd is present. I am stuck on how to fix this. Any help would be much appreciated!

The issue was solved by using SM-T210's /sbin/healthd file instead. The two share the same SoC and the kernels were quite similar so it worked perfectly.

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


text:
Can I move an App between SD card and Ram?
Is it possible to move an app to an SD card even if it cannot be used and then move it to internal memory to use it? Android 11 Galaxy A20 128GB SD card 32GB internal memory. Most of the answers I see are about 10 years old. Has anything changed?

Just a note: your title is a bit misleading as you can not move something to RAM. Some device manufacturer implement a feature called app hibernate or freeze where you can move apps you don't use of a time somewhere else, e.g. to the cloud (I think this was an LG phone not sure what other manufacturer provide something similar). But such a solution needs to be built into the phone.

not sure what you asking. Samsung devices don't support adoptable-storage. you can save a copy of apk* on MicroSD Card so you can install or uninstall apk any time without internet connection (*adb backup required once)

When I install programs, they are initially installed on internal memory. I use a program called AppMgr III. It will move some apps to the SD card, but quite a few it won't. I was looking for a way to move some of those apps to the SD card even if they no longer work.  If the APK files can be moved to the SD card and then reinstalled when I need them, that may be the best solution.  I did discover that the amount of space taken up by the APK files is substantial.  For now, just deleting them freed up several Gbs of space.


text:
Tasker JavaScriptlet prepending "undefined" in String
I maintain shows, and films from several platforms within an OrgMode File.
Now the string you get when sharing from netflix has unnecessary information.
I get rid of that with Tasker and a Java Scriptlet.
var endName = astext.search(" auf Netflix gesehen?") -1;
var text = astext.slice(15,endName);
endName = endName+24;
var replacer = astext.slice(0,endName);
var link = String(astext.replace(replacer));

With astext as input source from AutoShare Netflix Toast Interception.
So far so good, but as I have actually never used JavaScript before I get to a problem I don't really understand.
Infront of my string stored in link there is "undefinded" prepended.
I don't really know if I mess up JavaScript syntax or if there is something special with the interpreter Tasker is using.

This also happens if I instead of "resharing" the link simply print it out via Flash Task in Tasker

I don't have experience with scripts in Tasker but if it uses common JavaScript then you should be able to remove the text before the URL easily using this script:
var idx = astext.indexOf("https://");
var link = astext.substring(0,idx);

First search for the string https:// and save the start index. Then cut everything away from start to the saved index.


text:
Motorola Photon Q AT&T HD Voice support?
I have a Motorola Photon Q unlocked and running lineage. It's a 4G LTE phone and yet I'm told that it won't work after the February 22nd 3G sunset because it "doesn't support AT&T HD Voice". This is a requirement that was never mentioned to me before. Previously, all I had been told was it had to be 4G LTE.
So, is there a way to make this phone capable of using AT&T HD Voice? Or at the very least trick it into thinking it's capable? I need this to work and I'm running out of time and options.

Please read the very comprehensive article about AT&T 3G shutdown + VoLTE requirement: T-Mobile will require VoLTE for all phones starting January 2021, AT&T to follow suit in February 2022 – Here’s what that means for you
The most important part is that AT&T simply uses a white list of phones they have decided to support. Other phones they simply don't care about.

Since AT&T whitelists devices for VoLTE compatibility, you won’t be
able to BYOD to the carrier starting February 2022 unless the carrier
changes its practices or whitelists a lot more devices. There’s no
reason they can’t—VoLTE is a standard protocol, after all—but thus far
they haven’t.

Hence effectively it doesn't matter if you phone supports VoLTE and AT&T HD Voice, unless the phone is on their whitelist they will not allow you to activate the phone. For existing phones it is unclear if they will work but if you ask AT&T they will simply tell you it won't work because it is not on their list.
So you have three choices:

Believe AT&T and get a new phone
Keep your phone and try it out
Get this customer-unfriendly company what it deserves and switch to a provider that don't domineer over it's customers.

Unfortunately, 1 and 3 aren't options. I can't afford another new phone. The Astro Slide is the only other viable option I could find and it's nearly a thousand dollar. Plus, it's not on their list either even though it's both 4G LTE and 5G. And I can't just switch providers. There are multiple people on the plan and 2 of them still have phones they haven't paid off. They can't afford to pay them off in full right now, let alone whatever fees AT&T will want to impose for it.

This phone is my last, and only, option. I need this to work. There has to be something that can be done.

@Demon I mentioned this comment on another VoLTE issue, that manufacturers need to request VoLTE certification for their devices to AT&T.


text:
How to have flashlight toggle on sharp shake motion with Tasker?
I would like to toggle the flashlight when shaking the phone sharply.
I have tried setting the Tasker profile to shake left-right + display state on + not proximity sensor. This still is very buggy. For example, while riding on the bus and using my phone the flashlight continuously turns on and off.
Any better ideas? Is there a way to make it two shakes, back to back?


text:
Amazon Music App loses state after a few hours
I am listening to audio books on the Amazon Music app in the morning but when I pause at a specific chapter and want to resume in the evening, it displays the horizontal line symbolizing the progress in a song but no title of the album and the song. At this point I can only go back to the main menu and have to search for the album again and find the right chapter.
How can I the prevent Amazon Music app from losing state?

On Android apps can be terminated at any time (e.g. if other apps require more RAM). Apps can save their state before being terminated but it looks like Amazon Music app has some problems on saving or restoring the state.

This is a bug in Amazon Music app. The best thing to do is to report them through their preferred means of receiving bugs.


text:
OTG USB devices not detected anymore on Xiaomi Redmi Note 7 but can charge the phone and share files with computer
I noticed that either USB key or the Razer Kishi gamepad where undetected by my device although it did work some time ago. It may be related to an update or a material problem, I don't know. I tried the devices on both my computer and other android devices and they are perfectly detected.
I have no setting to toggle on Settings > Additional Settings, while I saw on the internet that OTG devices have a setting to toggle on for OTG.
See attached picture for the specs of my phone.
Is there any way to confirm whether it's a software issue or a physical issue ?
And would anyone know which steps to take in either case ?

EDIT: Extra information provided:

If your phone works on a charger and a PC then a general physical problem of the phone is unlikely.
The most probable problem source is an software update.
USB-C hardware issue
But there is one exception: I assume the phone has an USB-C connector which is by definition reversible. This is implemented by providing all connectors twice.
So if one of the connectors is damaged than it may still work but only in one direction. Additionally there are devices (and USB-C cables) known that have by design problems with this reversibility, they fail to detect USB devices in both directions or have other problems in one direction.
Therefore please when connection USB devices to the phone always check both directions of the USB-C plug just to make sure.
Software issue
There are several apps to be found in Play Store that check the OS for OTG support. Not sure if there is an app that works for your phone and Android version, but I would give it a try.

I added the results of testing the OS for OTG support to the question. I tried it by myself but did not thought it helped.
Hardware issue: What you mean is that I may have a device that works when it is connected to a PC ? (phone is the peripheral) but not when I connect the phone to some usb key ? (usb key is the peripheral). I don't understand what you mean by check both directions of the USB-C plug, what is an exemple of procedure you'd like me to do?

@RobinVogel All USB plugs have two directions how you can insert such a plug in a socket. Before USB-C only one direction worked, the other was mechanically blocked. Since USB-C both directions are possible, there is no "wrong direction" anymore on physical level. However some devices still have one "wrong direction" on technical level (because of a damage or a bug in the hardware design).


text:
Keyboard connected via USB OTG writes wrong characters
I have keyboard+mouse combo connected via USB A -> USB C reduction. Mouse works as expected, but keyboard writes wrong characters (it starts in second line see below).
I tried two different USB combos (from different manufacturer - Logi(tech), Yenkee) and both produce same result.
It's Asus stock Android 11, system language is English, SW keyboard is SwiftKey (QWERTZ, EN+CZ), also I use Bluetooth keyboard Logitech K840 which works as expected.
 `  1  2  3  4  5  6  7  8  9  0  -  =
ˋ1234567890-=
 Q  W  E  R  T  Y  U  I  O  P  [  ]
qw`rty¨ˆop[]
 A  S  D  F  G  H  J  K  L  ;  '
aßdfghjkl;'
 Z  X  C  V  B  N  M  ,  .  /
zxçvb˜m,./

The problem is no layout selected for physical keyboard - it's set for each keyboard separately in Settings > System > Languages & input > Physical keyboard > [Select your keyboard] > [Select a layout from a list]


text:
Android Auto installed but "invisible"
I have Android Auto installed, but I can't run it:

I can navigate to Android Audio app's page in Google Play app and I see "Uninstall", but I don't see "Open".
I cannot see this app's icon in Nova Launcher (or any other launcher).
When I install this app directly from .apk file the "Launch" button in confirmation message box is grayed.

Is this something with my Android (10) or my gear (DooGee S88 Plus)?
This is the first time, I have such situation. So far, in the past 10+ years of using Android, I could only see apps that I can install and run or that I can't install. I have never seen before an app that I can install, but can't run, since this seems pointless.
BTW: When I tap "Uninstall" in Google Play then, after something that looks like uninstallation process, I don't see "Install" button again, but "Update" instead (which would suggest that application hasn't been actually uninstalled). This is also very weird and also I have this situation for the first time in my Android life. What is this, what is causing this or what am I missing in the above picture?

Do you know that Android Auto is discontinued? May be Google now tries to force the users to use their assistant instead? https://www.androidpolice.com/2021/08/18/it-might-be-the-end-of-the-road-for-android-auto-on-phone-screens/

"I don't see "Install" button again, but "Update" instead (which would suggest that application hasn't been actually uninstalled)" this usually means that Android Auto is installed as a system app, thus cannot be uninstalled completely, only restored to factory state.

@AndrewT. I know that. But I wouldn't expect to have a system app that you cannot actually run. It is pointless to have installed / not uninstallable / restorable app that you cannot actually run and use, right?

@Robert Didn't know that, but the screenshot in an article you shared seems to be suggesting that it is discontinued only for regular use on phone. I have a Android Auto enabled car (and screen), namely Toyota Aygo, and I wanted to use Android Auto like that, not on the phone. I understand the above mentioned screenshot the way that I can still use Android Auto with designated cars. Only... I am unable to run it :\

And... still the question was intended to be more generic like. I was wondering if this is "only me" (DooGee / Android 10) or if you know any other examples of an app that you can successfully answer (Google Play store claims that it is available for this particular phone), but you cannot run.

Since Android 10, Android Auto is integrated as a system app but hidden for phone users. Users may have to install Android Auto for Phone Screens app to use it on their phones.
According to Android Auto Help - I can't find the Android Auto app on my phone,

Starting with Android 10, Android Auto is built into the phone as a technology that enables your phone to connect to your car display. [...]
If you don't have an Android Auto compatible car or prefer to access Android Auto on your phone screen, there are 3 options:

If you're upgrading your phone from Android 9 to Android 10, make sure that your phone already has Android Auto installed before you upgrade. If so, the app icon will carry over to your newly upgraded device.
You can use Google Backup to backup and restore from another device that already has Android Auto app installed.
You can also go to the Play Store and download Android Auto for Phone Screens, which is only available on Android 10 or higher devices. Once you install the app, you can continue to use Android Auto on your phone screen.

According to GSM Arena, Doogee S88 Pro comes with Android 10 already. Thus, Android Auto app is hidden by default and users need to install Android Auto for Phone Screens if they want to use it from their phone.
On the other hand, Google Pixel 3a comes with Android 9 and Android Auto pre-installed. Thus, when it's updated to Android 10 (and beyond), the app icon is still shown on the app drawer.

Thank you! I will only add that Android Auto for Phone Screens does not work / isn't available for all Android 10 devices. I have just opened (on my PC) an app page using Google account that I use with my Doogee S88 Plus and even though it has Android 10 preinstalled, I can clearly see This app is not available for any of your devices message.


text:
Is there anyway I can prevent an application from knowing that my developer option in on?
I use one application that doesn't run while developer option is turned on. Is there any way that I can disguise the application the developer option is turned off? (I know there is a way in rooted phone but can you help me to do same in an unrooted phone)

yes there is a way - turn off developer options


text:
Recover deleted photos on LG Q6 (rooting)
I've downloaded 'Disk Drill' to search for the photos and it informed me that I have to root the device for 'Disk Drill' to work. I've tried both with Kingoroot and Kingroot to root the device, both failed.
How to root an LG Q6? Or, if there is another way that doesn't require rooting, how can I search for the deleted photos?

Regarding Kingoroot and Kingroot: Why are the rooting apps not working anymore?, so looks like there's only the traditional hard-root method left (unlock the bootloader, flash custom recovery, flash su binary). However, looks like the bootloader doesn't seem unlockable. Last is How to manually root a phone? if it's anything possible. (I can't comment on file recovery since I've never tried it)

unlocking bootloader will perform factory reset and wipe encryption keys. you can't recover any data afterwards. your only chance is flashing magisk patched boot.img on locked bootloader. this requires firehose programmer and deep flash cable (some devices must disassembled to find test point)

even then chances to recover deleted files are nearly zero. try to search hidden .trashcan instead (see app in comments)

https://twitter.com/alephsecurity/status/955378924124557313


text:
How to extract boot.img from two ".bin" files (TF Flash Image)
I have got a TF Card flash image for my Hisense A6 (HLTE700T) and is trying to extract boot.img from it.
However, instead of payload.bin, two bin files are present in the zip file:
HLTE700T_TF (folder)
-- HLTE700T.bin (3.59GB)
-- HLTE700T_1.bin (1.00GB)

Those boot.img extract tools only accept one input and fails to extract the files. How can I extract boot.img?
Here's the TF card flash image if needed: Google Drive (Link UPDATED)

file says SysEx File (JEN) unknown file format. maybe it's easier to dump boot.img off device itself? I recommend python script edl.py (xxx.prog_emmc_ufs_firehose_Sdm660_ddr.elf can be downloaded here 1st link) your upload is corrupt btw don't use it

The link is updated and the uploaded file is no longer corrupt.

Extracting with QFIL worked well for me. Thanks for @alecxs 's advice!


text:
Audible app crashing on launch on Amazon Fire TV Stick 4K Max
I've just bought an Amazon Fire TV Stick 4K Max (Fire TV Home Version 6341067.1) running Fire OS 7.2.5.5 (PS7255/2444) and no matter which Audible version I install, it crashes every time I open it. Here's the Audible.log.
Of course, before uninstalling Audible, I'm deleting data and cache. Also, when I look for Audible in the Amazon Appstore, there's no result and it says by voice, "You're already an Audible member".
Is there a working version of Audible for Amazon Fire TV Stick 4K Max? Anyway, I just would like to be able to use Audible as I do with my phone.

You have problems executing an Amazon app on an Amazon device, have you contacted the Amazon support?

Not familiar with Fire OS, how did you install the app? If it's not shown on the App Store, then there's a possibility that it's not compatible with this device yet, and you have to wait for the developer to update it (as shown on the Appstore entry, "This release fixes bugs and adds support for new Fire TV devices."). Also, I have checked the attached Audible.log, but not sure which is related to the crash since there were quite many errors. Could you rename the current log as a backup and start a new log?

Cross-posted from XDA Forums (in case it's answered on there).

Yes, weird. Amazon app for a paid service failing to run on an amazon device, weird. BTW, I've just edited Audible.log link to point to a new Audible.log file which contains just one crash after clearing data, uninstalling and installing Audible 3.19.1 i found on Aptoide TV  cause i couldn't find the app on Amazon App Store. The device is used in Spain, don't know if there's any restriction about the app.


text:
If I want to switch my stock ROM with a custom ROM, what partitions will be rewritten?
I have a Xiaomi Redmi Note 4x (mido) with the stock ROM installed – never flashed another ROM. I have bootloader unlocked, TWRP (3.6.0.9-0), and root access with Magisk. I have also made a NANDroid backup of all of my partitions, except the 0mb cache partitions. I want to try out a custom ROM, but might want to revert to the stock ROM using the NANDroid backup if something goes wrong.
My question is: which partitions will be rewritten if I flash a custom ROM? Arrow OS, for example. If I want to revert back to my stock ROM using the NANDroid backup, which partitions will I need to recover? I am a beginner here, sorry if this a bad question.

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


text:
Physical keyboard samsung trio + enter key + viber
I have a problem  with my physical keyboard samsung trio when i use viber. When I press the Enter key, changes line, instead of sending the message. This does not happen in facebook messenger. Is a matter of viber?
Thank you!

I've never used Viber, but yes, an app can customize the enter button. Is there a setting inside the app regarding the behavior of the enter key?

Yes there is, but concerns the behavior of the mobile/tablet keyboard, not the physical keyboard. This setting enabled doesn't solve the issue.

I had the same problem and figured it out. If you're using the Samsung Smart KBD Trio 500 to type text messages you have to press Alt+Enter to send the message within the phone messaging app. I don't know if this works for all texting/messaging platforms but this does work with the default Samsung phone keyboard in the Samsung messages app.


text:
How do I export my text messages from either my Android phone, or from the Android Messages web interface, with the timestamps?
This question is referring to Android Messages. For Signal and WhatsApp, there are either tools (or just copy paste) that allow you to export messages to a plain text file in this format:
[2022-01-29 13:43] Me: Hello
[2022-01-29 13:47] Other person: Hello to you too

Copy paste from the web interface doesn't work; that just gives output like this:
Hello
Hello to you too

I backup my phone to Google Drive, but that isn't browse-able. I can browse my phone's folders through Windows Explorer when I connect my phone to Windows with a USB cable, but that doesn't show the data folder. There are also solutions like the SMS Backup+ app that copies each text message to Gmail as a separate email, but that's not the right solution either, and is very unwieldy to convert into a text file.
adb solutions are fine as long as they work with an unrooted phone.
Is there a solution here? I have a unrooted Pixel 5a running Android 12.

Regarding the web counterpart, you might be interested in our sister site [webapps.se]. Feel free to also post on there specifically for the web version while linking to this question for the Android counterpart.

SMSBackupRestore can create local xml files in following format
/storage/emulated/0/SMSBackupRestore/sms-20220130231717.xml
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<!--File Created By SMS Backup & Restore v10.15.004 on 30/01/2022 23:17:48-->
<!--

To view this file in a more readable format, visit https://synctech.com.au/view-backup/

-->
<smses count="1" backup_set="51f3aa8f-9305-4a33-8b64-9bd0aa216060" backup_date="1643581068669" type="full">
  <sms protocol="0" address="+491749960000" date="1643272261991" type="1" subject="null" body="Sehr geehrter winSIM Kunde, die Abbuchung von Ihrem Bankkonto ist fehlgeschlagen. Bitte überweisen Sie die offene Rechnung mit Angabe Ihrer Kundennummer. Vielen Dank. Ihr winSIM Team" toa="null" sc_toa="null" service_center="+491760000443" read="1" status="-1" locked="0" date_sent="1643272258000" sub_id="1" readable_date="27.01.2022 09:31:01" contact_name="(Unknown)" />

If you visit the mentioned website synctech.com.au/view-backup you can copy & paste messages very easy
(beware of your privacy)
you can select all messages or just all messages from selected contacts or only selected messages in one single xml file and there is no need to send email or upload to google drive

MyPhoneExplorer can manage SMS (like eMail in Thunderbird), copy & paste or export messages into text file
SMS Export 2022-01-31 00.26.txt
Sender: +491749960000
Time:   Thursday, 27.01.2022 09:31:01
Text:   Sehr geehrter winSIM Kunde, die Abbuchung von Ihrem Bankkonto ist fehlgeschlagen. Bitte überweisen Sie die offene Rechnung mit Angabe Ihrer Kundennummer. Vielen Dank. Ihr winSIM Team

the whole sms database is located
%UserProfile%\AppData\Roaming\MyPhoneExplorer\<device>[<IMEI>]\SMS.dat
%UserProfile%\AppData\Roaming\MyPhoneExplorer\<device>[<IMEI>]\SMSArchive.dat

Is there an offline version of synctech? (Maybe that viewer is client-side only?) So I'm not uploading my text messages to a third party site.

afaik you can open xml files with libreoffice or excel

I can open it in a text editor too; that was the easiest solution. There is a lot of extraneous information there so it's not perfect (for my purposes) right out of the box, but nothing a little script won't fix. Libreoffice had trouble with it; opened it as a blank document. Probably some more fiddling I could do there too.

If you add MyPhoneExplorer to your answer (just so it's not only stored in a comment), I'll accept it. Just want that answer to be preserved as well because it's what I ended up using.

or just write a little parser with xmllint or xmlstarlet yourself

@alecxs SMSBackupRestore Is an excellent answer!  This works very well.

@alecxs Your welcome to join Ask Ubuntu If you have any questions about Ubuntu!. That's my home turf.


text:
Why is the green portion of the WiFi signal in the "Network cell info" app different between a Pixel 6 (Android 12) and a Galaxy S9 (Android 10)?
Google Pixel 6 (Android 12): as shown in the screenshot below, the green portion of the Wi-Fi signal goes to 55 decibel.

Samsung Galaxy S9 (Android 10): as shown in the screenshot below, the green portion of the Wi-Fi signal goes to ~63 decibel.

Why is the green portion of the Wi-Fi signal in the "Network cell info" app different between a Google Pixel 6 and a Samsung Galaxy S9?

Possibly because manufacturers can customize the value inside the ROM (I feel like I have seen a question asking about the threshold value for each bar before, but couldn't find it at the moment)

@AndrewT. Thanks, that makes sense. You're welcome to convert your comment into an answer.

Found a different but perfect dupe instead that explains both WiFi and cellular.


text:
Disabling dm-verity using 9008(edl) mode?
My device blocks fastboot flash command, so I can only flash images using QFIL under 9008(edl) mode. By enabling OEM Unlock in dev settings, Magisk-patched boot image works well.
However, when I flash a self-builded OrangeFox recovery, device refuses to boot into recovery  (system rom is working) and shows the red g.co/ABH message:
<!>
Your device is corrupt. It can't be trusted and will not boot.
...

Since I have access to 9008/edl mode, can I disable dm-verity by modifying system with QFIL or something?

magisk does re-sign boot.img with it's in original AVBv1 signature, that's why it booted on locked bootloader. if you want disable AVB unlock bootloader first

@alecxs I do enabled "OEM unlock bootloader" in android developer settings, but boot splash screen still shows "device state - locked".

Can I sign the recovery image as well or ask Magisk to sign it?

OEM Unlock only sets get_unlock_ability please inform yourself how to unlock bootloader (and risks). No you can't sign recovery.img because verification is secured different (you can actually sign it with osm0sis AIK but it's pointless). If your goal is to recover data off device your only chance is adb enabled in boot.img

https://source.android.com/security/verifiedboot/avb

I still can't unlock bl even if OEM unlock enabled:...
FAILED (remote: Unlock is not allowed!)
finished. total time: 0.001s I'm giving up....

unlocking is manufacturer specific, some require mi account and own unlock tool, some require unlock apk, some unlock code for fastboot. some don't allow unlocking at all where special hack is required. you haven't mentioned device model that's why you should inform yourself


text:
Is there a way to get the old lock screen audio controls after the latest android update [android 12]?
For Android 12, the controls are not as good as the last android version. It used to have big buttons that are easy to see and push. Not it's contained in a regular notification box with small buttons. I just tried it and accidentally pressed next track instead of play.
If it makes a difference, I am using the Pixel 3.


text:
How do I remove Android 11 Cat easter egg when I have Android 12?
After updating my Samsung phone to Android 12 I wanted to remove the Android 11 easter egg, but since I have Android 12 now I can't do it. Does anyone know how to fix this (apart from factory reset)?

The question is why? The easter egg(s) are part of the system so "uninstalling" (effectively disabling) them has no advantage as they reside on the read-only system partition.

I don't think there is a way to do that, since those Easter eggs are part of the system, and not an app you can install/uninstall as you wish. I think the best you could do is to report a bug to Google saying the old Easter egg wasn't removed when you updated to Android 12 - maybe they'll fix it and release in a system update (however, I'll hardly believe they will spend time fixing such small thing).

Find out the package name for the easter egg (which will be something like "com.android.egg") using something like this:App Inspector.
Then you can proceed to uninstall the app follwing this guide,connecting the phone to a PC through adb(Android Debug bridge) and using the command:
"adb shell pm uninstall --user 0 ".
Though in case of system apps it is pretty much just disabling it: they will be back on a factory reset or you can even choose to reinstall it using the "abd shell cmd package install-existing "** command.
You can use this method to remove any useless system apps which can't be uninstalled from inside the phone's menu.
*install adb from here.
**replace <package name> with the appropriate pacakge name.


text:
Regain access to (partly) locked phone
I know I know: Again someone asking "how do I unlock my phone without the pattern", but please read  to the end haha.
I use a VPN software on my phone that asks me to change me lock screen settings every 6 months. So did I, guess what, 6 months ago. Since I never restarted my phone and I use face unlock and fingerprint, I never had to re-enter my pattern.
Today I was stupid enough to restart my phone and locked myself out.
It's a huawei mate 10 pro (BLA-29) and yes, I can prove that I am the legal owner of this device :D
Some months ago I activated the developer options and also USB debugging. Why? I thought that I could remove the "gesture.key" file if I forget the pattern. So yes, my PC can find the phone with fastboot and abd. But i did NOT unlock the boot loader (and I did not check the option in the developer settings).
I tested a lot of patterns but the time inbetween the 3 chances to enter a pattern rises, I am at 2 hours at the moment.
Fortunatelly I added a second user account to the phone, but it's a standard user and not an admin. I also installed "lostandroid" by https://www.androidlost.com/ but unfortunatelly my phone does not receive any commands since I am logged in with the second (non-admin) account.
My next attempt was to remove the pattern file via "adb shell rm /data/system/gesture.key" but the file does not exists. Yes, I googled and found out, that since android marshmellow the files are p.e. "/data/system/gatekeeper.pattern.key" but this file ALSO does not exist.

I can't flash a new zip or su.zip since the bootloader is still locked and I can't unlock it.
I can't pull the gesture file since none of them (as mentioned above) exist.
I can't push another key since I always get "permission denied", no matter to which directory I try to push
"SU" is not installed.
"adb root" doesn't to anything but also throws no error.
The system partition is read only.
I can't remount the system partition since it gives a error message that verity is enabled.
I can't disable verity since it's a user build.
The backup created with "adb backup" are way too small (just about 1 GB), no matter which parameters (apk/noapk, all, system/nosystem etc.) I use. So there is no chance to create a backup of my data, right?
I can't unlock the bootloader with "fastboot oem unlock UUUUUUUUUUUUUUUU" since I did not check the setting in the developer options. My second user is not allowed to open the developer settings.
my second account seems to be broken since my phone throws an error "apps are beeing prepare, try again later" (translated roughly from German) but even after 2 hours, several reboots, the apps don't open.

I stumbled accross this thread and honestly I dont know if this could help with my problem.
How to disable dm-verity on Android with "user" build type ROM?
So is there anybody that can help me with this?
I know that I am really stupid but hard resetting without a backup is no option.
I got backup files of course but I received important files of a big customer of my business on that phone 2 days ago, so there is no backup yet which includes these files.
As I wrote: it's my phone, I can prove it :D
but it's really important so maybe there is anybody that can help me :(

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

Success.
Even if I can't explain how/why. I took my phone and my muscle memory "remembered" the correct pattern. At first I was happy with that, of course, but then I realized that it was the pattern that I tried a dozen times in the last 2 days.
I also wrote down all patterns that I tried and it was the very first!
How come it suddenly worked?
Now knowing the pattern I locked my phone again and unlo...  wait. I was in. No pattern any more. it just disappeared!
I opened the settings app and searched for the security settings for "display lock".
Before, I could decide between "PIN" (numbers only), "Password" (alphanumeric) and pattern. "Face unlock" and "fingerprint" were additionally available AFTER I set up a display lock.
But now I can only choose "unlock password" which is a fixed length (6 digit) number. Why do they call it "password" if it's just a PIN?!
So... why are the other options gone? Why can't I choose the pattern anymore? Why did it suddenly disappear? Questions after questions.
My system information tell me that the phone still runs with android 10 and EMUI 10, the last security patch was on "01.07.2021" (july 1st). Also "USB debugging" was disabled. There was no software update for a long time.
I am glad that I can use my phone again but I felt like the dumbest person on earth since I own a repair shop and I repair smartphones since 2010. Every time a customer tells me that he did not make any backups (what I did!) and that he did not set up any recovery option for his phone, I get a little angry with him.
And then I could not access my own phone even I set up

huawei ID
google "find my phone"
"Lost android" by www.androidlost.com
SMS commands (like unlocking my fckn phone!) by www.androidlost.com
USB debugging with an authorization for my computer
but nothing of that worked.

In conclusion: I may not be as stupid as I felt and I'll never get an answer on how that happened. But I'm very happy.
thanks for your time @alecxs


text:
Is there an Android (webserver) app, allowing running a limited set of scripts on the device, remotely?
I was wondering, if there is some sort of an app, or a way, to run limited number of scripts or commands on an Android device over the network.
My use case is this: the device I have is inaccessible, and sometimes I'd like to turn it off, and turn the screen on. Since I cannot really touch the device to turn screen off (and use existing apps that deal with that use case), I'd like to have an app that starts a listening server on some port (say 7799) - which I could then access in a web browser on the local network via URL like, say, http:192.168.0.50:7799/run?script=screenoff.sh, which when processed by the server, would then blackout the screen.
I'm aware that I could enable adb (default port 5555) over TCP/IP (How can I connect to Android with ADB over TCP? - Stack Overflow), which basically enables this functionality - but I do not want the entire Android system open on the local network permanently. I'd just want to have only some functions (i.e. .sh scripts, something that could run in adb), that I myself choose, accessible/triggerable through a web server (that runs/keeps its port open permanently, and is thus started as a system service at boot of device).
Is there any application - or possibly, even a method in Android itself - that can be used for functionality like this?

Please note that recommendations like Is there an app for X are off-topic here (see What topics can I ask about here? for details). For where your question might fit better, you might want to look into Where can I ask questions that aren't Android Enthusiast questions? and Where to ask for app recommendations?.

Thanks @Izzy - good to know; in my defense, I hope that the question is clear, that I'm also interested in solution that would be just a bash script (e.g. like start stop daemon bash script) that could run in an Android shell, in which case I wouldn't really consider it "app recommendation" (and all of the marketing mess that comes out of that, which is, I guess, the mean reason sites want to discourage that). So, I hope this question is allowed to stand on this site ... EDIT: ah, bash script is off topic too, says the FAQ.. oh well, if this needs to be deleted, then delete it.

The reason I left it open was exactly your closing paragraph. May I suggest to rephrase your question along the lines of "how can I achieve this"? That would then totally be on-topic here – even if the answer might be an app, a shell script or any other software. Answering with an app that solves an issue is fine here – just explicitly asking for an app is not.


text:
Android emulator not connecting behind proxy even configurated for it
I've a android emulator, that is running on a computer that is behind a proxy.
From computer perspective, http and https internet access works fine, but on Android Emulator, nothing.
So I tried with "Use Android Studio HTTP proxy settings" and nothing, so I setup a "Manual proxy configuration", and it was accepted:

Doing this, I turned this virtual machine, off, and on, but still there is no internet:

Anyone here knows what is missing, and what do I need to do more?
Thanks in advance!
UPDATE1:
I've setup also on WIFI settings, and seems to be setup, but still there is no internet:

Are you sure HTTP and HTTPS don't work in the emulator? If the proxy is an intercepting proxy with HTTPS decryption and the certificate is added as trusted on your Windows system HTTPS will fail as Android doesn't trust the certificate but HTTP may work (test with http://neverssl.com).

With http://neverssl.com, or any http or https url, the result is always the same after doing that UPDATE 1: Contacting the system admin (Who is me) ERR_PROXY_CONNECTION_FAILED

Is the proxy an HTTPS url? If yes make install the used rot CA certificate is also installed in the emulator (not sure if this is sufficient). If not you need a rooted emulator and install the CA certificate as system root CA. See second half of this answer on an example how to install a system root CA certificate.

The DHCP is setup on WIFI, and its getting a range of IPs, that are not the same of this machine, so I think that is being given by android studio emulator NAT, is that it? (cannot find any config related to this VM network, outside of the VM it self)

the proxy url is a http url

Then I don't know. Use Wireshark to capture the traffic from emulator to your proxy to see what is going wrong.

The host is placed in a network that has a proxy auto config.
For this case the recepie that worked for me was leaving "Use Android Studio HTTP proxy settings" check, and only config WIFI to use to use auto Proxty config with full path for the pac file like this (in my case was a http with an https it could be needed a certificate):
http://proxyautoconfig.domain.com/proxy.pac


text:
MI Redmi 2 stuck on Black Screen and not booting into Fastboot or recovery mode
sometime ago I installed Linage OS 17.1 on my MI Redmi 2 (1GB) and also resized my system partition to 2.00GB and after some time I faced some auto-restarting problems then I decided to install the stock rom and when I went to install it, In MI flash tool it gave me a error  then I searched about it and found this article - https://forum.xda-developers.com/t/how-to-erase-partition-table-of-redmi-2-prime-2a.3520410/
Then I followed it but I used the rom I have downloaded from somewhere else and then I clicked flash, after 1-2hrs it was not completed then my friend suggested me to use the file given in this article and cancel the on going flashing process, so I canceled it and after that moment
it is Stuck on Black screen, and not even booting into fastboot or Recovery mode and when I connect it to a power-source or my laptop it doesn't responds at all.
So, if anyone from you have any solution please tell me...
-Thanks

unbelievable what stupid advice posted on xda. read the thread, of course device will brick if partition table is erased

hm, so I dont have a pin to sort the eld ports...

https://xiaomifirmwareupdater.com/miui/wt88047 https://github.com/bkerler/edl https://www.gsmtoolpro.com/p/blog-page_10.html

hm, I cant flash it because I cant go into fastboot or recovery mode...

and if you are on discord, can we talk on discord ?

of course not as you have erased fastboot and recovery. install Qualcomm HS-USB QDLoader 9008 Driver and use test point to boot into EDL mode. you can ask in that xda thread I may response there, as this is not the right place for discussion

which XDA thread ? BTW I live in India and this is almost my sleep time so can we do it after 10-11hrs ?

hey bro, will this work ? - https://www.youtube.com/watch?v=ePel-ToJYbQ

yes that's deep flash cable (data pin short-circuited to gnd)


text:
How can I get into my Xiaomi Poco M2 (bootloader locked) that won't boot
I uninstalled the 'com.xiaomi.finddevice' package from my phone and on the next reboot the phone spent 5 minutes displaying the miui logo and then went to the recovery menu on its own.The recovery menu had options for : safe mode(which behaved the same as normal boot),wipe full data(not just the cache part.),reboot,mi assistant(which is to connect the phone to a pc using the MiPcSuite).
I tried the MiPcSuite but it wouldn't discover the device even though windows recognized it as a adb interface.I tried to access it separately from adb but the device was showed as locked.What I was trying to do was to somehow reinstall the package.
As far as I could figure out,the device needed to be turned on for me to access it via an adb shell(though usb debugging was enabled and my pc authorized the last time it booted) and fastboot had no such provision.
I was apprehensive of trying TWRP as the xda guide called for the bootloader to be unlocked prior to flashing. My device is not rooted, nor is the bootloader unlocked.I'm pretty sure the only thing preventing it from booting is the  'com.xiaomi.finddevice' package being uninstalled.
My device is a Xiaomi Poco M2 running android 11 and miui 12.5
Is there any way to reinstall the package or otherwise repair the device so it turns on or at least to retrieve my data.

run adb logcat during boot


text:
How do I add an icon for an installed application to one of the MIUI app icon screens?
My friend is using a device running MIUI 12.5.1.
They have installed some app, and then some kind of magic happened, in which they were told by the device that it would be cleaning up / removing icons of unused applications - even though the app had been used; and the icon went away. Now, they want to restore the icon. The app appears to be installed when examining Settings | Apps | Manage Apps.
My friend reports they can't find the icon anywhere, i.e. hasn't just been moved (although TBH when they told me this I got suspicious it's in some folder they're missing).
How can I restore the app icon? I've searched the Settings, and have not found anywhere this might be possible; app screen customization also only offers widgets, not app icons.

What does reinstalling the app does? Does it not automatically create an app icon on the stock home screen?

"... then deleted the icon for that app ...". There's no way to delete the icon of an installed app. Some launcher apps allow (un)hiding the icons though.

Not familiar with MIUI, but was the icon removed from the home screen? Also, is there an app launcher/drawer that shows all the installed apps? The general approach is to long hold the app icon from the app launcher/drawer, then drag and drop it to the home screen.

"is there an app launcher/drawer that shows all the installed apps" <- No, that's the problem.

@Firelord: I was trying to avoid reinstallation, for reasons, but I'll tell my friend to try this. Also, see edit.

@IrfanLatif: You're actually right... see edit.


text:
Completely disable the call mode sound channel
This seems a regular issue to a lot of people without a true fix. The bad sound quality when in a call trought the Discord app.
For what I can understand, it is caused but the channel : the "phone sound channel" or "call mode" .
It seems that Discord had an option to switch between the two modes but that option has been removed.
So I'm looking at a more drastic solution : disabling the call mode channel entierly. And forcing every app to push their audio to the communication mode channel.
Is that possible ?
To me, this feature does not make any sense anyway. Why would you need a channel that not only lower every sounds you are listening to (including the voice of the person you are speaking with) as well as lowering the audio quality of your own microphone. If someone is knowlagable about why such thing exist, I would be very curious to know the explaination. On a practial sense, this feature confuse me a lot.
An funny addition : I use an app to track the kilometers I do during my walks. For every kilometers done, a voice announce the number, the time, ... When the voice is speaking, the channels are switched and the quality is suddently perfect. When the voice has finished, everything goes back to 2000 phone call quality. It shows that the phone is perfecly capable to handle the sound and that another app can trigger the switch.


text:
Can't boot into Recovery mode. Prestigio Multipad 2 Pro Duo 7.0
so I've had the Prestigio Multipad 2 Pro Duo 7.0 for a hell of a long time. Sitting in a box, the tablet worked fine when we bought it back in like 2015 for like 2 - 3 weeks and then we started to run into problems like the booting won't start or it just freezes randomly. And to fix it we'd have to wipe all the data using Android Recovery. Until we couldn't get the Recovery menu to pop-up anymore, the Volume Up/Down + Power did absolutely nothing. And here I am 7 years later trying to recover it yet again. Right now the tablet hasn't changed at all, still got the same problem and all that time sitting in a box did not help it. I was thinking of flashing new firmware to it and stuff like that but I have no idea how to do so if the tablet won't start (stuck on boot screen). There's no way for windows to recognize it.
What I tried in the meantime while playing around with it:
Replugging the battery back in
Installed drivers for ADB(still doesn't recognize it)
Tried booting into Recovery with Volume + Power buttons(tried it in every single scenario and it wouldn't work)
(later i realized ADB only works if the device is on..)
Literally any help would be appreciated.

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


text:
My Samsung J2 Prime version 5.4.0 stucked in CHECKING CONNECTION
I did HARD FORMAT my Samsung J2 Version 5.4.0 prime and stucked in CHECKING CONNECTION for 1 and a half day. I've tried restarting it and turning it off but it didn't worked. Tried the TALKBACK SETTINGS to use the PRIVACY POLICY (watched it from youtube) but it said "MY REQUEST IS DECLINED" it didn't worked also. Is there's another way to fix it? Please I badly need help.

https://www.hardreset.info/devices/samsung/samsung-galaxy-j2-prime/recovery-mode

https://www.techeligible.com/2017/11/26/bypass-google-account-galaxy-j2-prime

https://www.xda-developers.com/samloader-download-updates-samsung-galaxy


text:
Google will randomly convert any 7 digit number into a clickable link summoning your phone app, how do you turn that off?
This is like the weirdest thing on the pixel phones. looks kinda like this Literally all 7 digit numbers will be converted into a hyperlink and summon the phone app, assuming you want to call that number. It's a nightmare for communicating technical and scientific information.
There is no searchable term for even finding this feature name, settings or search engine. Is there literally no way to turn this off?

See if this answer works for you: https://android.stackexchange.com/a/132283/96277

I just tested this on my Pixel 3a + Android 12 + Discord + Gboard + Google Phone app, but the behavior is somewhat different. Plain numbers are not linkified, only if they are prefixed with + (plus) character (similar to my comment for Nexus 4 on the linked question).

@AndrewT. interesting, What keyboard are you using? Perhaps it is linked to the keyboard? Do you have a screenshot?


text:
What is TWRP doing when it says "updating partition details"?
Whenever it decrypts data or applies a zip, it displays the message and then takes a rather long time.
What is it doing during that time?
In top I can see that the recovery process is fully utilising a core (and more), so it's not like it's sitting around waiting for some timeout either.
Is there anything I can do to speed this up?

it takes less than a second, something is wrong. so your question should be how to determinate why it takes that long (or how to fix)

It depends on the situation (it's really fast if I'm just wiping cache) but after decrypting or installing something, it takes over a dozen seconds. If that's not normal, I'd indeed like to know what causes this and how to fix it.

try disable free space check in settings

Doesn't help unfortunately.

It's updating the partition sizes so that it doesn't get messed up while you're backing up the partition.
(Source: partitionmanager.cpp in TWRP source code)

Could you expand on what you mean by "get messed up"? Why should anything get messed up when I'm not actually changing any partition sizes?

You're not changing the partition sizes themselves, but you might be changing the size of the content inside of the partitions. You can also see that by the source I mentioned.

not only. also /etc/fstab is rewritten and all mounts set to default (determinate file system type, decrypt, mount /data, bind mount /data/media/0 to /sdcard, umount /system, etc ...) depending on what action was performed

As far as what the "Updating partition details..." does itself, it only updates the partition sizes for backups.

Can I disable that? I don't use TWRP's backup feature.

Nope, sorry. If you go down from the source I mentioned, you'll also see that it updates the free storage size. It's not related to the message directly, but it's also a part of that function.


text:
How to see only new apps (not updates, or shows apps) in F-Droid "Latest" view?
I'd like to receive or browse new apps in F-Droid's app store.
Currently, it shows both new & updates.
Furthermore, I'd love to filter out apps by category, or by keywords, in F-Droid's "Latest" view or in "Categories".

is there a way to acheive it with current tools
is there an index I can download and grep / sort / query myself, either programmatically or via script?


text:
What is the /data/misc folder?
I recently ditched my phone's stock ROM for a lightweight custom one. After transferring my files over, reinstalling apps and reconfiguring settings, I wanted to perform a full backup of the  phone's "initial state", just in case anything goes wrong. So, I went ahead and rebooted to recovery mode.
I'm using OrangeFox Recovery instead of TWRP (for those who don't know, it's based on TWRP but with more support for encrypted internal storage partitions, for my device at least). I started the backup process from there, only to find out some time later that it failed when copying the data partition, and a status code at the end of the message screen that did not make that much sense. Pulling the log file using adb pull revealed that the copy process failed to add a file from a subdirectory in the /data/misc folder.
I:Error adding file '/data/misc/9i0eBx6h5AsCJUBmui5L4C/ADq3lG3ELF4NPOElzFdltC' to '/sdcard1/Fox/BACKUPS/...../data.ext4.win000'

A Google search did not come up with anything, only about specific files and subdirectories in the /data/misc folder.
So my questions are:

What is the /data/misc folder (especially the random named subdirectories) used for?
Since I cannot get the backup process complete at all because of this single error, is there a way to bypass or delete the file? (if it's not an important system file)

It contains random configuration settings: https://android.stackexchange.com/search?q=%22%2Fdata%2Fmisc%22

Does this answer your question? copy encrypted internal storage to pc ( in twrp mode )

@alecxs No, as I mentioned the OrangeFox backup situation just for context. My main question is about the /data/misc folder, as I stated above.

/data/misc/keystore
/data/misc/keychain
/data/misc/sms
/data/misc/textclassifier
/data/misc/wifi
/data/misc/profiles are valid subdirectories, does one of these exist?

@alecxs I can see the contents of /sdcard from OrangeFox with no issues, but the subdirectories you mentioned in /data/misc are nowhere to be found, only the jumbled mess. So, the directory is encrypted. I'll forward this to the OrangeFox team. Thanks for your time!


text:
'Starting Android ...' for over 60 mins
Following a factory reset after an Android problem, I started setting up my phone like it was a new one. Next day I was locked out of it for 24 hours, which I understand is a google protection system. Now I can login, but I get 'Android Starting ...'. This has been going on for over 60 minutes. What should I do?

Try wiping the cache partition. To do this, boot into the Android recovery menu. Make sure your phone is turned off and hold Volume Up+Power or Volume Down+Power for 5-15 seconds  until a screen appears with many options which displays  Android Recovery Menu. Now use the Volume Down button to go down, until you are at Wipe Cache Partition and then press Power button. This will remove any cache on the device, and make new cache, which  may will work to fix your issue. Now (re)boot your device and see if it has worked. I am not sure of this is gonna work for you, but you can try it.


text:
how to get specific android OS for testing
I have a problem that only happens on Android 8. I tried the emulators and was not able to recreate the problem. I need to find a way to get a test device with android 8 on it. I tried Amazon a few times but each phone that advertizes having Android 8 would show up with Android 9 or something else.
I currently have a Device: Galaxy J7 2018 (J737A).
Questions:

Is there a way to revert my device to android 8/8.1? I have looked and have not found anything for this model number. Need the stock version.
Is there any online store that sells devices where users can choose Android OS?
Is there any other way to recreate a bug and debug on specific versions of Android e.g. Android 8 Oreo?

Android has a downgrade protection, so stock device with locked bootloader can not be downgraded. Your device has the correct age so that an Android 8 version should exist for it. Once unlocked you should be able to install (e.g. via Odin) a firmware downloaded e.g. via https://github.com/zacharee/SamloaderKotlin

Thanks, @Robert! I'll give this a try now.

@Robert  Odin keeps failing
<ID:0/007> Added!! <ID:0/007> Odin engine v(ID:3.1301).. <ID:0/007> File analysis.. <ID:0/007> Total Binary size: 5312 M <ID:0/007> SetupConnection.. <ID:0/007> Initialzation.. <ID:0/007> Set PIT file.. <ID:0/007> DO NOT TURN OFF TARGET!! <ID:0/007> Get PIT for mapping.. <ID:0/007> Firmware update start.. <ID:0/007> NAND Write Start!!  <ID:0/007> SingleDownload. <ID:0/007> sboot.bin <ID:0/007> param.bin <ID:0/007> cm.bin <ID:0/007> FAIL! <ID:0/007>  <ID:0/007> Complete(Write) operation failed. <OSM> All threads completed. (succeed 0 / failed 1)


text:
ADB backup with empty password
I have a non-rooted Android 12 device and I am trying to execute a procedure it used to work. I basically used to backup an application DB using the following commands:

Connect phone and grant permission from it
Create a folder and cd on it
adb backup -noapk com.myapp.blabla
Do not input any password
dd if="backup.ab" bs=1 skip=24 > compressed-data
printf "\x1f\x8b\x08\x00\x00\x00\x00\x00"| cat - compressed-data | gunzip -c > result.tar
tar xf lresult.tar

Now for some unknown reason, it looks like I have to type a password if I want to go through. In fact, there are two buttons: "do not back up" and "back up my data". The second one gets available only if you type some letter.
I have googled a lot, but it looks like nobody had this problem.
My version is:
adb --version
Android Debug Bridge
version 1.0.39 Version 1:8.1.0+r23-5ubuntu2
Installed as /usr/lib/android-sdk/platform-tools/adb

maybe enforced from android 12? set password and use java

Does this answer your question? Is there a way to look inside and modify an adb backup created file?

Instead of manually fiddling with the backup (that exists in 5 different versions with optional compression and encryption) I would recommend to use Android Backup Extractor tool to convert (unpack) it to a tar file.

thank you for the suggestions guys, I'm going to try them

Ok, i've seen the links. I already saw it in the past, but I had problems in making it work. The only way I succeeded is in fact the method I have told you about. The only problem is the fact that now it requires a password.. no idea why or how to circumvent this

Unfortunately we can't help if password is enforced. abe.jar works fine with password

what do you mean that the password is enforced?

on other android devices one can leave password blank. not sure that is some change in android 12 or just something special by your OEM

I've understood.. thank you all for your replies


text:
Where is hidden additional data of an app stored?
This question came to my mind when I installed Oxford Dictionary. It's strange that I couldn't see the additional files (audio, dictionary, and pictures) in an unrooted device. This app has a base app (idk what it's called) and it will download the additional files through the app (these files are not automatically downloaded when the app's installed from playstore).
The reason I need to know the storage placement is, so I could copy the additional files and paste to let's say SD Card or OTG memory stick and ditto to my other device, so that I needn't download it again because the file is quite huge.
The problem is I couldn't find it anywhere. Is it because my phone is unrooted since it's probably stored in deep storage that requires root to modify it? If that so, at least, when I check the properties of the storage of the app i.e. that is placed in Android > data, (the name of folders are usually started by "com. xxx") the file size shows 0 kb that means nothing's there. At first, I assume it happens because my device is unrooted and I came across with this discussion here that I can actually see the root files (using MiXplorer), but I can't modify it. Well, even if I couldn't modify it, at least, I should be able to see them. However, I've searched the files everywhere and I still couldn't find them. What's the problem?
It says there that it's stored in internal storage and usually oxford products are saved in Android / data / package name

However, this is what I mean when the file size is 0 and there's nothing in there. I'm using MiXplorer btw and I've tried to check in root storage.

Anyway, Is it possible to find and copy the hidden additional files? Using app or maybe with the help of PC using certain software I can?

Does this answer your question? Where Android apps store data?

@IrfanLatif unfortunately no. The discussion doesn't answer my problem as to why the listed package folder shows 0.

Does this answer your question? Transfer Android app with offline data to NEW PHONE without ROOT

Does this answer your question? How do you extract an App's data from a full backup made through "adb backup"?

@user516076 please read my answer completely including the comments.

Sorry guys. But I think you've misunderstood my question. I don't need to backup nor I still couldn't find the reason whythe size shows 0. But thanks for your attempts trying to help me. I've even clicked all those blue links from the answer and the comment and there is no a sentence explaining as to the problem I'm having. I only need to copy the file without backing up and do complicated things.

@user516076 I think you misunderstood the other posts. You don't need root to modify the app data in internal storage (/data/data respectively /data/user/) you need root to see those files! No root no access to those files. If both phones are running Android 11+ then may be the Android device migration wizard is able to migrate these data when connecting old and new device via USB but that is just an unconfirmed  theory (did not had this case in reality).

@Robert no sir. I mean. I can't modify the file that's probably stored in root/deep storage/system/whatever idk the name.

Use adb from a PC connected via USB to the phone. Check if you can copy the files. As a user on an unrooted device adb gives you the highest permission you can reach for reading and writing files.

@Robert ok thanks for the suggestion. I'll try

Is it possible to find and copy the hidden additional files? Using app or maybe with the help of PC using certain software I can?

yes, if your device has previously unlocked bootloader and Magisk installed, you can read/check size of
/data/user/0/com.oup.elt.dicts.bilingual/files

otherwise connect your phone via adb, create backup and extract it (see linked questions)
adb backup com.oup.elt.dicts.bilingual


text:
How to switch slots without a computer or using TWRP?
I'm working with Android 9 Pie and I have one slot rooted (slot A) and the other is not (slot B). My reasoning to have my phone this way is because I need the non-rooted side to log in to the app I use for my job. (Even though it still works if I log in on slot B and then switch slots via TWRP without logging out).
I've tried the outdated Switch My Slot app which crashes immediately.
I'm mostly looking for a command I can run via termux to speed things up as opposed to just switching slots in TWRP which takes longer than just a command that would switch slots and reboot. How to switch slots without a computer or using TWRP?

(off-topic) might you elaborate how to switch slots from TWRP? just curious about

One way to switch slots from TWRP is to hold the power button and then press Recovery.  My phone then will reboot into twrp blu_spark and prompt me to enter the password to  unencrypt my phone from there I press "reboot" and then press the slot that it is not currently in.

+1.Similar question for Android 13


text:
Fastboot flash boot (FAILED)
I am using Ubuntu 20.04.3 LTS and when trying to boot into, or flash, the TWRP recovery bootimage image I compiled.
I have no additional information on why I got this error.
Just flashing twrp bootimage on moto g(40) fusion.
Error I received on executing fastboot boot boot.img:
$    downloading 'boot.img'...
$    FAILED (command write failed (Success))
$    finished. total time: 0.000s

the reason is you compiled yourself

Do you know on which partition you have to flash boot_a or boot_b

afaik in active slot

on partition boot_a

Should I use fastboot set_active a

My error was resolved on using different usb slot to connect my device via usb cable.
I still have no idea on why I got this error but it was resolved.
Maybe using a different usb cable might also solve this error.

https://forum.xda-developers.com/t/fastboot-problem-on-usb-3-0-ports.3859995/ also talks about this problem, although it might be a different case.
In their case, it was a Poco F1 phone, a computer with a AMD CPU, and a USB 3.0 port. Downgrading to USB 2.0 fixed the problem
The thread also offered a way to fix it on Windows by running these commands as administrator. I'm not sure what they do, but they seem to force USB 2.0
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "osvc" /t REG_BINARY /d "0000" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipContainerIdQuery" /t REG_BINARY /d "01000000" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipBOSDescriptorQuery" /t REG_BINARY /d "01000000" /f


text:
Android OEM Unlock wipe taking too long
Im using Oneplus 3T and when I did fastboot oem unlock
now my device is stuck on screen since last 30mins plus
"Wiping, please wait"
How long one should wait ? any way I can exit this and start again ?

On encrypted devices this takes just a second as only the cryptographic key is deleted and overwritten. But your device was shipped with Android 6 and most likely without encryption. Therefore oem unlock should cause a complete overwrite.

please tell us how long

Fixed!!
My device was already OEM Unlocked enabled.
I powered off my phone. and Simply Booted with TWRP.
fastboot boot recovery.img

Also I had to wipe the Device using Ext2 file system under
Wipe > Advance Wipe > Data > Repair / Change File system
After this I enabled ADB shell and flashed Havoc OS android 11 on my oneplus 3t.
Everything is working great so far. Also a quick note, for rooting I used Magisk and try to get an older version of Magisk this allows you to use MagiskHide which is useful for banking apps like Gpay, Jio app.. etc.


text:
How to cut power to a already-switched-off phone without a removable battery
Note that I am already aware of this question. But it can not solve my question because my phone is already switched off.
I have Huawei without removable battery that I would prefer to cut power to because I got quite some disinfectant on it when it was already switched off. How I can cut power to my phone completely when it is already switched off (without switching it on)?

watch disassembly video and disconnect battery

If you really make sure the phone is off then the answer is still the same: remove the battery. On modern device removing the battery of course is not that simple and requires appropriate tools and little bit of skill. For inspiration check if there is a video on e.g. iFixIt or YouTube how to disassemble the device.


text:
Use Google Maps navigation without Google Location Accuracy improvement
Since today Google Maps necessitates me to turn on improvement of Location Accuracy when starting to navigate. If I tap "No thanks" navigation stops again. If I switch to another App and come back to Google Maps navigation also stops. This startet today using Android Auto without any update. I was changing the route and couldn't continue navigation without enabling this.
I don't want to enable using Wifi and mobile networks, because then Google collects my location data all the time. In addition, what makes it even worse, when this setting is on, Google links my public IP address with my location after some time. Thats why I really don't want this function enabled.

There is good GPS signal reception and location is detected within seconds, so this option is not necessary at all and while driving even not helpful at all, because GPS is then the only possibility to get a good location. On roads there is no Wifi Google could use to locate and celltower location is way too inaccurate.

Did you find any answer?


text:
Port Forwarding Outside Local Network Using Phone Network
I want to forward my local port outside of network as does in routers but through phone's network. I having Android 11.
I have looked many pages and fortunately found this but this seems like it does forward my local server inside my local network, I'm newbie to networking.
adb shell "ip -4 addr"
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
3: rmnet0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc mq state UNKNOWN group default qlen 1000
    inet 26.88.120.96/24 scope global rmnet0
       valid_lft forever preferred_lft forever
11: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    inet 192.168.36.69/24 brd 192.168.36.255 scope global wlan0
       valid_lft forever preferred_lft forever
26: rndis0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    inet 192.168.23.126/24 brd 192.168.23.255 scope global rndis0
       valid_lft forever preferred_lft forever

Any help/link regrading this would be grateful. Sorry if i asked wrong question.

As a start please read why opening a port in mobile network most likely won't work (your question is a bit unclear what you want to do, but my guess is that it is this direction) https://android.stackexchange.com/questions/203996/how-to-connect-to-android-through-ssh-over-3g-4g-public-ip/205807

You are right, but i have a public ip (as told if you have pulblic ip you can forward) and i have done everything found on web and it does work but still cannot access from internet. :/

I would first test if you can make an service like ssh or http public if it is running directly on your phone. If that works you can try to forward the port into your hotspot network. If your phone is not rooted for making the iptable changes you could try to use socat. It allows to accept TCP connections and then forward them to a configured IP address similar to a proxy (but does not require root).

if i'm not wrong then : you want to say installing socat in phone-terminal and then listen for connection on my public ip and then forward to local IP? If yes then is this command is right : socat tcp-l:2222,fork,reuseaddr tcp:<ip>:80

can i use adb forward?

If you have an USB connection adb forward or better adb reverse may also work. But I am not sure if it binds the open port to the mobile interface.

Let us continue this discussion in chat.


text:
Wifi not turning on/Stuck on "Turning on...", is there any other solution
I have a tablet (tab s6 lite) but there is a problem, when i connected the tablet to my (old) macbook,it started going crazy
It kept on resetting and the wifi would not work
I fixed the first problem, but not the second
I really want this to get fixed soon, and i know this is a common question, and i know i might need to factory reset or repair it but i have alot of data and i am fine
with reparing it, but i will Happily accept any other solution
(I couldn't put a recording here so this is what happens)
if i open setting and turn on wifi then it gets stuck on "Turning on...", but if i go back and then open wifi settings again, it will be turned off
Same for the Control Center

I would recommend to you to totally shut down the phone.
Shutting it down powers off a lot components which is like a hard reset.
Usually one would expect that there is no difference between shutting down a phone and power it on again to a reboot but it seems that unser some rare conditions some chips can enter a state that is not affected by a reboot. Only powering of the chip can solve such problems.
I had this once with the GPS chip in my phone. No matter what I did it wasn't working properly. Only shutting down the phone, wait some seconds and then start it again restored it's functionality.


text:
Pixel 3 Android 12- Can't see Alert/Silent switch in app-specific notifications
I'm on a Pixel 3 running Android 12. See this screenshot, I'm trying to set this app to Silent notifications (In Settings > Notifications > App settings) but the option is no longer appearing:

On my Pixel this Dialog has not changed by the update to 12. Just click in the channel name and you get the screen for selecting all the options like silent or vibrate.

Hiya Robert, to clarify, what is the "channel name" in this screenshot? Fwiw, I have noticed that the Alert/Silent feature is still available in the notifications tray when I long-press on a notification I've received. But I haven't been able to find the setting anywhere else.

In your sample screen shot the Instagram app has the notification channels Instagram Direct, Instagram Direct requests and Instagram Direct video chat. In Android such channels are defined/created by the app https://developer.android.com/training/notify-user/channels


text:
TTS voice not applied in Google Translate
The voice in Google Translate was configurable before Android 12. Any one knows how to do it on Android 12?
App: Google Translate and Google TTS
OS: Android 12
Phone: Pixel 5

Related: Changes the voice from woman to man in Google Translate.

I asked because that doesn't work.


text:
Root vivo y91i without unlocking bootloader
Is it possible to gain root access for vivo y91i by patching the boot.img by Magisk, placing the patched boot.img in the place of the original boot.img in the stock ROM, and flashing the entire firmware as an update via local upgrade feature in vivo? Will it work? And if it fails, how badly it can wreck my device?

won't work because of avb2.0 (and missing zip signature)

https://android.stackexchange.com/q/232574 https://android.stackexchange.com/q/241355 https://android.stackexchange.com/q/241595


text:
Restore whatsapp files from old phone
A friend of mine recently switched phones because the old one was sent to repair a broken screen.
After the switch, she noticed that some messages that were important had not been transfered. So far, I think that as she had no wifi at home, the backup was old and not updated.
Since she still has the old phone, is there a way to retrieve the old messages and add to the backup? I fear that if she just switches terminal again Whatsapp will just erase those old messages with the most recent of the backup.
Is there any way to access those messages? Ideally, adding them to the messages in the current phone, although if we just can access them it would be enough.

Does this answer your question? Cannot restore WhatsApp backup without Google Services

Does this answer your question? Whatsapp Chat Backup

@alecxs thanks for the links. The issue is that since she has been using the new phone for a while, maybe there was a way to combine the old backup from the old phone with the messages in the new phone, but the more I research the more unlikely it is. For the time being I will work on getting a copy of the files on CD and try to read the DB. In any case if I will find anything interesting I will try to answer this myself.

Does this answer your question? Copying WhatsApp chat history to new Android

https://forum.xda-developers.com/search/member?user_id=5008416


text:
Exclamation mark in red box on top of the screen with white lines on both sides
I have a Samsung Galaxy S10 5G and my Android version is Android 11. While using one of the regular apps that I use every day, I noticed that a red box with an exclamation mark inside appeared on the top of the screen.

Also, two lines on both sides of the screen appeared and they rotate with the screen. I don't understand how this issue started it just came from nowhere.
Please advise what to do. By the way, the box and the two-line do not appear on the lock screen.

Looks like a screen overlay. "While using one of the regular apps that I use every day" could you mention the apps? They might be related to the overlay.

MX Video Player

Your 'Switch-Access' in accessibility is activated. Go into settings and deactivate it & the red box with an exclamation mark will go away. I dont know off hand exactly where in settings they are but you can search for it as soon as you pull up settings by tapping the search bar. My accessibility settings menu is always available at the bottom corner of my screen. I set it that way in settings. The exclamation box only appears for me when 'Switch-Access'is activated.

Step 1: Setting - Apps & Notification - All apps - Android Accessibility Suite - Force stop.
In case if it doesn't work then restart the device in Safe mode and repeat "Step 1".
Good luck! (Y)

Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.


text:
Update to Magisk 24.1. Support for XPosed modules / Changes
I am on Pixel 4a running stock Android 12. I was on Magisk 23.x  with Lsposed (as Riru  is anyway deprecated). I had no need of updating to the latest 24.1, since everything was fine and I didn't keep up with latest Magisk changes.
Till a banking app update ruined my peace, because it detected root (SBI Yono for Indian readers). All my efforts to circumvent root detection failed @ and I was forced to consider updating Magisk hoping that the Deny list feature would help in preventing root detection (though it's not same as Magisk Hide) or else use a  compatible root hiding app Shamiko (stable version released a few days ago).
This looked to be challenging  since Magisk 24.1 does not support Riru. So how do I run Xposed modules like XPrivacyLua, Xposed Edge etc? This was my biggest worry.
Google-fu didn't help, but a vague comment on Reddit gave hope. More search revealed other issues and their solutions, which are in the answer below. It was worth the effort since Zygisk is a key feature of Magisk and  I may as well step up my game (and your's).
All the best and yes, I won't be updating this to keep up with changes but you hopefully have enough pointers to find your way
@Safety-net passed; developer options state hidden;device shows certified in Play Store. Hiding Magisk app 23.x involves jumping through a lot of hoops, so didn't try that.

"Magisk 24.1 does not support Riru" – sure? I've updated my Fairphone 2 to Magisk 24.1 recently. Riru continues running fine, Edxposed has no issues, Gravitybox (Xposed module) works as it always did. And if you miss the module manager, see here. Screenshot from the latter, on said device: https://apt.izzysoft.de/fdroid/repo/com.fox2code.mmm/en-US/phoneScreenshots/01.jpg (this is Android 11, you're on 12 where it migght look different)

@izzy with Lsposed it does not support unless you use Lsposed Zygisk version as in answer//I have linked Github for fox module manager and will include your link as well. Thanks

tl:dr;

Zygisk = Zygote + Magisk
Use Zygisk-ified Lsposed (this was the undocumented learning to get Xposed modules running)
Use Zygisk-ified USNF for safety-net check

Previous setup :Magisk 23.x (stable channel),with Lsposed and some Xposed modules.
Update to Magisk 24.1 (app & Magisk) the usual way (through the app)
Magisk settings

Enable Zygisk (beta)
Configure deny list and select the apps for which you do not Magisk to be loaded (I read that some elements of Magisk Hide are present in this option, but that's too technical for me).
Make sure all components of selected app are enabled. In screenshot below Citibank isn't fully enabled and hence will be detected , whereas Gpay is correctly enabled. The blue bar above the app needs to be fully extended

I chose Gpay and couple of banking apps (including SBI), trusted apps with license issues
From 3 dots menu select system apps and tick Google Play services com.google.android.gms (some blogs recommend also packages ending with gms.unstable,but I couldn't see that on my device). Note that if you are using USNF module (see below), com.google.android.gms will be automatically unselected. See this XDA post for reasons

Enable enforce deny list

In Magisk modules list previously installed Riru Lsposed and Riru will be disabled and a warning in red that says module suspended because Zygisk is enabled. Since they are anyway  disabled, I didn't uninstall them, also it gives me flexibility in case I choose to disable Zygisk.

Install through Magisk LSPosed zygisk-release.zip (Github) or from the Telegram Channel. Check that previously installed Xposed modules are listed and working fine.

You are good to run Xposed Modules again!
I found this very useful thread on XDA Magisk - The Age of Zygisk, which has other resources (some listed below) and some issues/solutions faced while upgrading to Magisk 24.1. I had no issues whatsoever.

For Safety-net evasion, install Kdragon's Universal Safety Net Fix (USNF),again the Zygisk version  from Github.Magisk 24.1 doesn't have safety-net check built-in, so install Yet Another SafetyNet Attestation Checker (YASNAC) from Play Store/Github.USNF Magisk module is the only working safety-net fix/root detection solution ATM.

Edit: USNF is outdated. Use Displax SafetyNet-fix module instead (xda thread by developer)

Since there isn't a built-in Magisk repo anymore, install Fox's Magisk Module Manager from Github or from Izzy's repo.
It lists modules both from the previous Magisk repo, a new repo plus Androidacy Magisk Modules Repository

Root hiding: install Shamiko from Github or from LSposed telegram channel linked above. AFAIK, it is the only solution to hide Riru itself. The stable version was released a few days ago.Do read the instructions in the zip file. I didn't need to install it but note that denylist (step 3) should be turned off. Though this is from LSPosed stable, it has drawn some adverse comments from one of the Edxposed team members and it's not open source too. For additional root-hiding methods , see resources at the end of the answer.

Finally, I am on Magisk 24.1 with safety-net check passed, that banking app working and importantly Xposed modules running fine. All the best!
Additional resources

Here's an XDA thread on Google Pay/Wallet post rooting related (hiding).

Hide My Applist - A Brief Guide

Why is USNF outdated? For some idea see chat here


text:
Google Play Store showing an app on "All apps" but not on any of the devices
It is possible to see where an app is installed on a device on the Google Play Store web. I go to Apps - My Apps, and have a drop-down menu with all the devices. However, there is one particular app which appears when "All apps" is selected, to be installed. But when choosing from the 3 devices listed in the drop-down menu, it does not appear on any of them.
Does this mean the app is installed nowhere? Why is it then shown in "All apps" when on other occasions when uninstalling an app from a device it disappears? Could it be installed on a computer and therefore shown as installed but not visible for the devices? Any way of knowing where the app is installed based on the Google user?

From my understanding "all my apps" are all apps you had ever installed (thus those you "own" that most were free to buy doesn't matter). Those apps don't have to be installed on any device but you still own it.

Hi Robert, thing is that I owned far way more apps then the once shown. Like I know of games and others I"owned" which I uninstalled and which do not appera i my apps. But this particular app seems to stay in "my Apps". And i am wondering why or if ot still somewhere installed.

There's a possibility that it has been installed on other Android devices that are not registered to this Google account anymore, e.g. by removing/disconnecting the account from the device. Generally, uninstalling an app shouldn't remove the entry on "My Apps", unless it's also removed from the device's Play Store's "Manage my Apps".


text:
How do I turn on app update notifications?
I've got a Moto G7 running Android 10, I've had it for 2+ years.
I used to get notifications from the Play store that App A has updated. I haven't received these notifications in at least a year, possibly longer.
All my apps seem to be updating on a regular basis, but I have odd issues where things suddenly seem to stop working for a while and I've got no idea why. I suspect that it's because I've received an update with a feature that's now broken, and a week or so later, a fix is pushed, but since I no longer receive app update notices, it's more difficult to sort these things out.
Is there a way to (re-)enable app update notifications, either in the Play store or in the phone itself?

Are you talking about update notifications by the app itself or by Google Play Store?

Sorry for the delayed response, @Robert. I used to get notifications, I presume from Play store, that "App 'x' has been updated". Not that I cared all that much - I had auto-update turned on, but at least I knew that when functionality seemed to change there was a reason for it. Now I don't have a clue when an app was last updated and things change and I don't know if it's the app or my phone which I've had for 2+ years and is, frankly, showing its age...


text:
adb glob expansion
I'd like to be able to issue:
adb pull storage/self/primary/Documents/*20220204* .

Right now doing that gives:
zsh: no matches found: storage/self/primary/Documents/*20220204*

You could emulate ADB pull using tar on device side, pipe everything using ADB exec-out to the PC and there untar the received stream. Would be pretty complex but would allow wildcards as it uses tar.

Possibly related/dupe: Why the file path the phone tells me, I couldn't find in adb shell? (ignore the title since it's actually asking about adb shell and adb pull)

The matching of * wildcards is failing, because it's being done by zsh on your computer, which can't see your Android device's filesystem. It's looking for storage/self/primary/Documents/*20220204* in your computer's filesystem, and not finding it. It's fortunate that it doesn't exist on your computer, since if it did, it could only provide a source of confusion.
Here's a way to do the job with tar, using the /data/local/tmp directory, which you can write to from the adb shell on any Android device.
Create some example data
adb shell "cd /data/local/tmp; echo FileA > a.tmp; echo FileB > b.tmp"
We've created a.tmp and b.tmp in /data/local/tmp on the device.
Collect the data into an archive file
adb shell "cd /data/local/tmp ; tar cvfz archive.tar.gz /data/local/tmp/*.tmp"
The first use of /data/local/tmp is getting to the place where you'll create the archive; the second one is the location of the files you want to put into your archive.
Get the archive out of the Android device onto your Linux machine (or is it macOS?)
adb pull /data/local/tmp/archive.tar.gz .
Extract the archive into your current directory
tar xvf archive.tar.gz
Delete the archive off the Android device
adb shell "rm /data/local/tmp/archive.tar.gz"


text:
Can we get single time access to in-display fingerprint photos in android?
I am trying to access the fingerprint photo access from the in-display fingerprint sensor for a specific use case. Is it possible to do so?

Related: Where does Android store fingerprint data?

For privacy reasons fingerprints images can never be accessed by Android apps. The following text is about Google Nexus/Pixel phones, but as far as I know it also applies to phones of other manufacturer:

Your fingerprint data is stored securely and never leaves your Pixel
or Nexus phone. Your fingerprint data isn't shared with Google or any
apps on your device. Apps are notified only whether your fingerprint
was verified.

https://support.google.com/pixelphone/answer/6300638
The reader is only usable by Android itself for authentication.
As an app developer you can only ask Android to perform an authentication and in the end get the result (success/failure).


text:
Unsigning and resigning apk inside apks makes an app don't work in some features
(It's optional to read)

Let's say I have an app called X, this is the older version of
the apk that I got from google. I have important data in the app, thus,
if I uninstall it, I'll lose them. However, I want to update it, since
google play store doesn't provide the app anymore (only available on
the official website of the app), I need to download it manually. So,
somehow (I watch a tutorial from YT) I need to sign the latest version
of the app. Silly of me, I made a mistake that I unsigned the new app
and then signed the app afterwards without knowledge of which
appropriate sign type I need to apply.

Problem:
So I have unsigned (Removing signature verification) an app using NP Manager (the property says the app has signature status of V2, thus I killed the signature verification v2) , and then I signed the app and do the same i.e. signing the app using the signature scheme V2 (NP Manager has 3 options: v1+v2, v1 and v2 [Android 7.0+]).
At first, it worked successfully, i.e I could install it perfectly, some features worked and nothing seemed to be wrong, alas, there was one (Idk what it's called) bar/menu/section when I opened it, the app stopped immediately (forced close). I had tried to do trial-and-error by investigating what's wrong and the problem seems to come from the unisigning and signing.
My question:
Is it either unsigning or signing the app can harm the app itself which causes some features don't work though the app might be able to be installed successfully? If that's so, how to prevent this problem? Is it because the original signature and rhe new signature I give differs and crash somehow?
P.S. I'm only interested to know as to why the unsigning and signing makes the app error and how to solve it. I hope you would explain the error that happens in my app and why signature matters.
Thanks in advance!

Android OS checks the signature only at installation time. The verification information is saved and can be retrieved by the app at run-time (but the number of apps that do so is very low).
In general apps work no matter how and using what key/certificate they are signed. Only a few apps implement measure against app repackaging/resigning so they check their app signature at runtime and if it does not match the quit or show an error message or something like that.
That an app starts working an then suddenly crashes sound more like a bug of the app. Most likely the app has been developed for an older Android version or a different phone model (there are sometimes slight differences between different models).
Also it does not make any difference if you first remove a signature for an APK and later sign it. By default a new signature totally replaces the old signature.

"By default a new signature totally replaces the old signature." Are you sure of that? So if one wants to double-sign (like it's done with reproducible builds at F-Droid, carrying the original dev's signature as well as F-Droid's, while at F-Droid's signing the private key of the dev is not present), one must explicitly say so?

@Izzy When I execute apksigner sign then the new signature totally replaces the old (tested with build-tools v29 and 31 and an APK that had a v2 only sig). But I have not seen any option to change the apksigner behavior between replacing and adding a signature.

There's the --next-signer option. But in all examples I've seen so far, it only goes after the first signing key. I just tried it, result looks the same as without (signatures seem indeed to be replaced). Guess I'll have to ask my team mates at F-Droid…


text:
Is it possible to enjoy online app in offline mode in this problem?
This is not about changing the online app into offline by Lucky Patcher so that I don't bother with ads. No, it's not.
The app is a dictionary which requires the internet to open each entry. Actually the app offers the download button, but only for each entry which I should download all of those entries so that I can enjoy it offline if I want. But I don't think that's a clever method because there are millions of words!
Is it possible to batch download i.e. all activities are done in one action instantly by probably modifying the app? (Don't worry about the topic of hacking, it's not hacking at all since the app is totally free and there's no premium feature either).
I have searched the related problem, I don't remember where, the difference is the website I visited, discussing the possibility to download the data from wiktionary so that one can enjoy the dictionary offline. So, I'm asking this question, hoping that it's a possible thing and I can do the same thing to the app.

You should just ask the app developer for the feature. If you are thinking about a dictionary like Wiktionary, see: Download all words from Wiktionary for offline use Do realize that Wiktionary EN is about 20 GB compressed. The biggest problem is what you want to batch download may be different than someone else and that will require app developer to make changes.

@MorrisonChang alas they don't answer my email when I ask this problem

Regardless of whether it's hacking or not, this community generally doesn't have experience in reverse-engineering/modding an app since it's a borderline issue related to app development, which is off-topic here.

@user516076 You may want to look through relevant Software Recommendations to see if anything matches. If you want to post a request there, I would make sure you describe exactly what words you are trying to 'batch': i.e. middle school vocabulary, TOEFL, certain science terms, etc. and do search for dictionary apps with required terms in the Play Store. If the UI experience is problematic describe it and how to change it could fit your needs.


text:
Use my smartphone as hotspot only
I often turn on the hotspot on my phone to use the data connection on my laptop throgh wifi.
Anyway, the connection is often unstable. For example, when a Whatsapp message arrives, then the connection slows down, or it falls down.
I know that I can block the access to internet for every single application.
I was wondering if there is a easy way to block all internet activities of my phone while I use it as hotspot.
Thanks in advance!
Note that I don't have a rooted phone.

With root you need to add a simple iptables rule.

@IrfanLatif thanks, but I don't have arooted phone. Is there a more "plain" way to this?

VPN based firewall can be used to block connections but it's not as robust as iptables or ip route/ip rule is. You can check existing VPN firewall apps if they provide an option to block all apps in single step.

Press the whatsapp icon until the circled i shows up, and tap that. click Notifications and turn them off? Don't forget to turn them back on. Alternatively (again long press to get the circled i) and tap Force stop. Then when done open whatsapp back up to restart the process.

@JimClark this is a very basic solution, and I'm aware of it. Anyway, whatsapp was just one example of app that connects to internet... I'd like a plain solution, i.e. something that can be performed using basic apps found on the store.

@IrfanLatif ok for the VPN, but then, how do I do this?