text:
Android stuck in Boot animation after flashing GSI
I flashed Pixel Expirience GSI with TWRP by pushing it to the storage and flashing it as system img(with TWRP).
The problem, it’s now stuck in a Google animation which came after the Sony logo.
I would like to shut it down.
I already tried
adb reboot but
error: device unauthorized

And pressed the power off button 1 min and nothing happened.
EDIT:
I tried to install some GSIs, but they were stuck at the costum Romes Loading animation.

I installed the Firmware with Emma
Locked it to update to Android 11 and unlocked it again
Installed TWRP and booted into it
Wiped system and userdata
Pushed to system.img file from the custom rom to my device into /sideload/
In TWRP install-System Image—> Pressed on the folder and on the system.img
It installed successfully
Rebooted
Stuck in Loading animation\

(PixelExpirience == A Google G with loading bar, LineageOs == The blue line with the bubble)\
No crashes or so what, it just hangs in there for ~20 min and than I turn the device off with volume(+) and Power button.\
I know Sony Xperia 1 is not officially supported for project treble, but since this thread(https://forum.xda-developers.com/t/mars_soms-v220313-pixel-expierence-android-12-gsi-patches.4097433/) requires Pixel Experience GSI I thought it should be possible to run GSI on Sony Xperia 1.
Any idea what I might have donne wrong or are there other GSI roms I could try.\
PixelEX = PixelExperience_Plus_arm64-ab-12.1-20220613-UNOFFICIAL.img 3.7 GB
LineageOS = lineage-19.1-20220613-UNOFFICIAL-arm64_bvS.img 2.0 GB

I was able to power it down again by pressing Volume(+) and Power button 5sec

I final solved it.
Sony Xperia 1
Exactly what I did:
Installing stock firmware, will be different from device to device

Power the device off
Plug it in while holding Volume(-) until a green light appeared.
Open Emma(Sony Xperia Firmaware flash Application)
Flashed Android 9
Boot until I got to the welcome screen( just to check if the Firmware flashed successfully

Installing the important Files

When there https://developer.android.com/topic/generic-system-image/releases
Downloaded the right files for my device (Arm64)
Unzipped it —> system.img and vbmeta.img

Installing the files

Powered my device off and booted into fastboot
went to the download directory and
I don’t know why but these two commands, error the first two times when I tip them. Important(when the command errors, press the fast boot button, because my device at leased, tried to escape into a green light mode, but just because it switches to the green light mode does not mean that you should stop it, only if it errors and wants to go into the green light mode.) \

fastboot flash system_a system.img
fastboot flash system_b system.img
(both)
fastboot --disable-verity --disable-verification flash vbmeta_a vbmeta.img
fastboot --disable-verity --disable-verification flash vbmeta_a vbmeta.img
3. Wipe the phone
fastboot -w
4. Restart
This worked for me


text:
What will happen if I tried to boot into twrp recovery without flashing it (not made for my device)
As their is no twrp recovery for my device (vivo 1802 mtk device)
I was thinking of booting into twrp recovery not made for my device specifically Without flashing it.
To get the job done maybe some backups or flashing using twrp.
But I don’t know what will be the consequences of it……
If anyone got idea or hands on experience on it, I would like to know

The core of the recovery as well as the main ROM is the Android kernel. If you try to boot a kernel not specifically built for your device, it won't boot at all in most cases due to missing device tree and other reasons.

source: Stack Exchange

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

sort: votes


text:
Silent notifications except for one app
I have a Samsung Galaxy s9+ device and I was wondering if it is possible to use the silent mode and still receive sound notifications from one app only?
I want to hear whenever I receive a Telegram message and have all the other notifications for other apps only appearing in the notifications bar, but without any sound.

Enable DND and add Telegram to exception list.

I don't find any application exception in the DND mode. I only see exceptions for calls and messages. Also, if assuming it would work, wouldn't that stop the notifications for the rest of the apps for good? I only needed the sound stopped.

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


text:
If Android is open source, then how did Google ban Huawei from using it?
Android is open source, it is based on a Linux Kernel which has been modified by a variant of C language.
A few years back there was a big controversy when Google banned Huawei due to some security/privacy issues and then you couldn’t use almost any Google services on it.
So if Android is FOSS, then that doesn’t make any sense. Like anyone should be able to use Android on any device they choose, and what stopped Huawei from continuing to use it?

Duplicate of Google's Huawei ban, how will this hit Huawei, since Android is open source? but not yet properly answered (the comment thread hints at the real issue)

Google only prevented access to its proprietary software (Google Apps and Services), not the vanilla Android source code that it releases on the web.

Android is not FOSS, it never was. Android Open Source Project (AOSP) and Android ecosystem are entirely different things. AOSP cannot be used on device without the hardware-related proprietary parts from OEMs. And it is pretty useless for many - or at least very inconvenient to use, very unproductive, and far less elegant - without the proprietary parts from Google. Unfortunately this is the shady aspect of Google's business. Huawei needs to make huge marketing efforts to fill the gap in latter part.


text:
Does the One Plus 8 Pro's IR camera work with Open Camera?
I'm trying to figure out whether or not, the One Plus 9 Pro's IR camera

Is exposed as any other camera?
Is a special device that is not exposed as a camera, but only a proprietary feature of the special One Plus Camera app?

Was this IR camera ever exposed as a stand-alone camera?

No, at least not currently the Camera is not exposed through the official Camera1 or Camera2 API. It's only available in GCam and GCam clones (like LMC 8.4) (or other apps which use CameraX and JetPack), as the functionality is provided by a high-level extension to com.qti.chi.override.so. It amounts to OpenCamera and other camera apps not being a JetPack app and relying on lower-level Camera 1 and Camera 2 APIs. And, GCam being CameraX, which gets the IR camera functionality through the  higher-level CameraX extension that OP provides.
For more information see my follow-up "What is CameraX and JetPack?
"

How do GCam apps access this infrared camera then?

Through some proprietary Google extension.

@tsilvs major update ^ thanks for for the upvote.


text:
Unable to access my data on the same device on which I mistakenly selected SD card to be used as adoptable internal storage
Currently using pixel experience rom based on Android 12, by mistake selected sd card as adoptable internal storage and migrated my data   - Esp Images & videos- to adopted sd card. And then foolishly removed and reinserted my sd card multiple times without selecting 'Eject' or 'Unmount'. Now I am unable to access my photos & videos even on the device in which the sd card was encrypted and used as adopted storage let alone reading the sd card data on computer or any other device. In the same device I can only see the thumbnails of around only 20-30% of photos & videos and when selecting those photos/files individually the photo/file appears blurry & just keeps loading and the rest 70% files/photos, when opened, display the error 'could not open file'. I have not factory reset my device or erased any of internal storage which means the key to decrypt is still inside internal storage but my device is not rooted. Can someone please help me out so that I am able to access my data/ precious memories?? I'd really appreciate any help to solve this problem and get me out of this stressed out situation.

Honestly it sounds to me like you the SD card is corrupt or failing... I would connect your phone to a PC via USB and copy the data off the card as soon as possible. These issues have a tendency to escalate until the entire thing is inaccessible. The likelihood of being able to recover these photos/videos is slim since this is an encrypted volume. The alternative would be to put the card in a card reader in a Linux PC and use the process of recovery since you have an unlocked/rooted device already and can access the decryption key.

I have copied all data esp Media- photos& videos on my computer but the data was neither readable on the mobile device nor it is readable on the PC. And now I have formatted the MicroSD card to be used as a portable storage but the card is displaying an error of currupt SD card. So I again turned the formatted card as Transportable internal storage because no media was left in the device so nothing shifted into Transportable storage except some system files. My Nokia 6.1+ has an unlocked Bootloader but is not Rooted. Is there any way to make the backed up data on my PC readable by Rooting????

I copied some files/photos from the backed up data on PC to this Transportable internal Storage in the hope that may be it becomes readable but it is still not readable. I have only formatted the Sd card but have not formatted/ not factory reset my Phone internal storage which is hopefully still containing the key to decrypt the data. After Rooting the device, is there a way to make my data readable by using the key??? Do I still have a chance left to access my data?? I don't know how to read the key & use it to decrypt data.Can someone help me out with this situation??

Let me get this straight... You copied the data off, then formatted the card, then formatted it back to adopted storage? If that is correct, you are totally screwed if you didn't get the key off the phone before you formatted the card and readopted it, because a new key is generated every time storage is adopted, the original key would be overwritten and it is gone. That said, the device is telling you the card is bad, THROW IT AWAY AND GET A NEW ONE!

Does this answer your question? Can't access my phone memory suddenly after using SD card as internal memory

I am a noob when it comes to technical matters so pardon me if questions are a bit silly.

If I patch the boot.img using Magisk, would I get access to the decryption key??? As u said that since I formatted the Sd card as portable and adoptable storage multiple times & then repeated the same again on another Sd card multiple times, the Original Key was overwritten on. Can the Final Key Decrypt the Data encrypted the 1 St time??? Can we somehow get the 1st original key using the Final Key ????

I am ready to give remote access.Can I get someone online who can do this process for me? Or atleast give me Instructions in layman terms so that I can 1st Root device and be able to read the Final Key. Then using that Final key keys how to decipher the original key for decryption!

If I manage to find the key / different keys . Then how to use the key to Read the backed up data stored on my PC? Can I make it readable somehow on the PC or have to do it in Android? If on Android, with the help of key  how to do it?

I don't have that corrupt sd card anymore. Have already returned it and got a new one. All I have is the Key/keys stored in my android system internal storage & the backed up data on my PC!

I now have Root access on the device. Can you tell me how to find this /data/misc/vold folder and read the Key/Keys & then make the backed up data on my PC readable??

use current SD Card and follow the linked steps for exercise to get a feeling how things work. all your questions will be answered during this homework (spoiler: it's pointless)


text:
How can I grant root through ADB root?
I'm using LineageOS. I can run adb root and then ADB shell, and I have root access to the device. I'm trying to use Neo Backup which requires root.
Is there a method, with root ADB access, to grant root access to the Neo Backup application?

Possible duplicate of How to grant certain apps root permission through ADB?

is your device rooted?

Does this answer your question? How to grant an app root access without GUI interaction?


text:
Install new Android OS?
I bought a new Chinese phone which they said I could use with T-Mobile. The IMEI was not acceptable by T-Mobile. It is supposed to be Android 12, but when I try to download (WiFi) some apps from Google Play Store, it won't even find some common apps (TextNow, ZUMIMALL). I attached 2 images of the phone specs.

At this point, I think I need to install a different Android OS. Is it possible? I am open to suggestions as to what to do. Thank you.

Cannot upgrade current android that came with phone it is custom. Would like to replace android OS.

Replacing is the same as upgrading. Typically for a china phone there are no upgrade, updates or alternative versions.

Unfortunately the phone is useless now.


text:
Traffic from mobile apps doesn't reflect in my Burp Suite
I need to send the traffic from mobile apps to my proxy (Burp). When I finally did it, I found out that everything is working only in Windows.
The traffic from mobile apps is reflected in a Burp only in a Windows OS.
When I try to do the same things (set Burp on my IP and adb shell settings put global http_proxy ip:port) in Kali, it doesn't work at all.
What can be wrong? Of course, I could work in Windows, but Kali is my main OS with a settled environment. So I need your advice.

Do you boot your system using kali or does it run in a VM? If you boot it as main OS on the PC make sure the Burp port is not blocked by the firewall of Kali.

Hello! yes I boot kali as main OS.
How I can check that burp port isn't blocked by fw?

Robert I disable my FW - the status is inactive. So there is no problem in FW.

If Burp can correctly get the traffic when running on Windows but not on Kali, then it is an problem of the OS. So it is Independent of Android and this site is dedicated to Android questions. You may get more feed back when asking on a site more specific to Kali or Linux in general.

Tnaks bud! I'll try to ask somewhere else.


text:
Termux API does not ask for permissions and hangs
I try to use termux-api to perform some actions, specifically I want to use termux-usb to run some libuvc code.
However none of termux api programs even ask for permissions to run.
For example if I run
termux-camera-photo test.jpeg

It just hangs, same for termux-usb -l
It is Samsung Galaxy A31, Android 10.

According to the Wiki for termux-usb, it needs -r to show permission dialog when needed. As for termux-camera-photo, perhaps there's no camera ID 0?

Same behavoir with -r

I needed to install Termux-API via f-droid rather that pkg install - and thus it gets the permissions and pops the question.
if you install termux-api via command line tool pkg install termux-api - it fails.
If you install it as an app from f-droid - you can give permissions for example to use camera as to regular app, and termux-usb actually pops-up the question to use the device and thus giving permissions.

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


text:
Samsung MTP Requires "Allow" access to files every time when connecting to Mac
I have a Samsung M51 device running Android 12 and a MacBook Air M1 running macOS Monterey. I have installed Android File Transfer App and tried to transfer files between the devices. The issue is that The application requires permission to access the files every single time I connect the phone to the mac.
I hope this is a problem with SAMSUNG devices since programs like OpenMTP instructs you to select allow every time you connect the device.
I was wondering if there is a way to make the Samsung device remember the computer it was connected to.
I have already tried clearing data and cache of USBSettings MTPapps and force stopping them in my Samsung Device.
Thanks in Advance.

AFAIK the MTP protocol has no (reliable) way to identify the host you are connected to. So the only way is to ask every time or to automatically allow access. Only the adb protocol (can be enabled in Developer options) has the option to identify a computer and thus allow to trust for some months (or optionally permanently). But ADB requires different programs on host side.

Thanks @Robert for the reply. Even though I understand what you are saying. I found out that only latest devices (Android 11,12 ) of Samsung are facing this issue. It should be noted that I didn't have the opportunity to test latest devices of other manufacturers. I had the opportunity to test older devices of Samsung (Android 9) and Others and haven't got this issue. It connects to computer directly after the first time. If you don't mind, Why is that?

I have the same issue and it would be great if there is a solution to that.... can't manage files for quite a while...


text:
Bluetooth battery level not showing up in status bar
I'm using Lineage OS 18.1 and a BLE Mouse that reports its battery level.
I can confirm that the battery level is reported correctly, by connecting it with my Linux computer:

(See Devices: DIY Page Turner)
Also from the terminal:
[fedora@fedora ~]$ bluetoothctl
Agent registered
[CHG] Controller 9C:B6:D0:94:27:00 Pairable: yes
[DIY Page Turner]# paired-devices
Device CC:50:E3:B6:91:00 DIY Page Turner
[DIY Page Turner]# menu gatt
Menu gatt:
Available commands:
-------------------
list-attributes [dev/local]                       List attributes
select-attribute <attribute/UUID>                 Select attribute
read [offset]                                     Read attribute value
...
[DIY Page Turner]# list-attributes CC:50:E3:B6:91:00
Primary Service (Handle 0x0000)
    /org/bluez/hci0/dev_CC_50_E3_B6_91_00/service005f
    0000180f-0000-1000-8000-00805f9b34fb
    Battery Service
Characteristic (Handle 0x0000)
    /org/bluez/hci0/dev_CC_50_E3_B6_91_00/service005f/char0060
    00002a19-0000-1000-8000-00805f9b34fb
    Battery Level
Descriptor (Handle 0x0000)
    /org/bluez/hci0/dev_CC_50_E3_B6_91_00/service005f/char0060/desc0063
    00002902-0000-1000-8000-00805f9b34fb
    Client Characteristic Configuration
Descriptor (Handle 0x0000)
    /org/bluez/hci0/dev_CC_50_E3_B6_91_00/service005f/char0060/desc0062
    00002904-0000-1000-8000-00805f9b34fb
    Characteristic Format
Primary Service (Handle 0x0000)
    /org/bluez/hci0/dev_CC_50_E3_B6_91_00/service0028
    0000180a-0000-1000-8000-00805f9b34fb
    Device Information
Characteristic (Handle 0x0000)
    /org/bluez/hci0/dev_CC_50_E3_B6_91_00/service0028/char002b
    00002a29-0000-1000-8000-00805f9b34fb
    Manufacturer Name String
Characteristic (Handle 0x0000)
    /org/bluez/hci0/dev_CC_50_E3_B6_91_00/service0028/char0029
    00002a50-0000-1000-8000-00805f9b34fb
    PnP ID
Primary Service (Handle 0x0000)
    /org/bluez/hci0/dev_CC_50_E3_B6_91_00/service0001
    00001801-0000-1000-8000-00805f9b34fb
    Generic Attribute Profile
Characteristic (Handle 0x0000)
    /org/bluez/hci0/dev_CC_50_E3_B6_91_00/service0001/char0002
    00002a05-0000-1000-8000-00805f9b34fb
    Service Changed
Descriptor (Handle 0x0000)
    /org/bluez/hci0/dev_CC_50_E3_B6_91_00/service0001/char0002/desc0004
    00002902-0000-1000-8000-00805f9b34fb
    Client Characteristic Configuration
[DIY Page Turner]# select-attribute /org/bluez/hci0/dev_CC_50_E3_B6_91_00/service005f/char0060
[DIY Page Turner:/service005f/char0060]# read
Attempting to read /org/bluez/hci0/dev_CC_50_E3_B6_91_00/service005f/char0060
[CHG] Attribute /org/bluez/hci0/dev_CC_50_E3_B6_91_00/service005f/char0060 Value:
  2f                                               /
  2f                                               /
[DIY Page Turner:/service005f/char0060]# exit
[fedora@fedora ~]$ echo "Battery Level: $(( 16#2f ))%"
Battery Level: 47%

(Not sure if the value (2f) appearing twice is correct behavior, but I assume it is since Linux doesn't seem to have a problem with it.)
On Lineage OS however, it doesn't show that information in the status bar:

I can display it using BLExplorer though.

(35 is the battery level percentage in hex. Which, converted to decimal makes 53%, which is accurate. So the battery level is transmitted properly.)
What I would like to see is this btw:

Do other devices, for examples earphones, show their battery statuses?

Yes, with earphones it works as expected.


text:
How supercookies works in Android?
I would like to know if there is a cookie pool where several companies can query within Android so that it can store supercookie.
Or if it is site specific.
The foundation of this question was an event that occurred when I was talking about citizenship on Whatsup and, out of nowhere, suggestions for advertisements on Twitter about citizenship appeared.
I question how Twitter manages to capture the content of a conversation on Whatsup if they are not the same companies.
Note: I use twitter via the progressive web-app and not the app.

Ads are in 99% not loaded by code from the company that provides the app. Instead they use ad frameworks by Google, Facebook, ... SO it doesn't matter from which company an app is, more important is what ad frameworks the use.  For detecting ad frameworks and trackers in apps see https://exodus-privacy.eu.org/en/


text:
How to Block UDP port in devices
am trying to disable webrtc on the root level
Is there any guide to do that
want to stop IP leaks while using a proxy it's easy in chrome but not for other apps..

A local VPN app should be able to block all UDP traffic except the one required. That would even work without root.

alternative if I want to use my proxy?


text:
media control "resume" and "pause" via NFC tag do not work
Problem description
I wrote tasks onto NFC tags

to play different playlists in a media player app,
to control the media player (Vol +/-, next/previous title, pause/resume, quit media player) and
to shut down the smartphone.

Starting the media player playing a certain playlist works fine. All media control commands/tasks work fine except for "pause", "resume" and "pause/resume". Quitting the media player (with root permissions) and shutting down the smartphone work.
The smartphone recognizes these commands/tasks and prints them to the display when a NFC tag with one of these commands written onto it is held onto the smartphone's NFC reader. However, the currently running music is not paused and paused music is not resumed. There is no difference between running the media player in the background or in the foreground.
Question
What might cause this issue and how can I solve it?
Technical Details

OS: Lineage OS 17.1 official (Android 10)
device: Galaxy A3 2016
media player app: VLC Media player (but also tested Foldplay, Vanilla Music, mMusic Mini, Audify Music, AOSP Music+, Schlichter Music-Player, Simple Music Player, Lineage OS Music Player 3.0).
NFC Writer Apps: MacroDroid (root permissions), NFC Tools PRO (default user permissions)
tried these NFC tag writers as well (but they could not write media control commands onto NFC tags): NFC TagWrite by NXP, NFC Writer by Trigger, NFC/RF Reader and Write (by GreenlifeiInfo Tech), NFC-Tags write and read (by Yalintech), NFC Tag Writer & Reader (by Winning Studios Apps)
can be reproduced on same smartphone model with Lineage OS 19.1 unofficial (Android 12) without any root permissions

Some other details
I am setting up a "music box" for my child similar to a Tony Box based on a Galaxy A3 2016. This music box should be controlable by NFC tags - except for turning the smartphone on. Most tasks are written via the MacroDroid App which has root priviledges. "pause/resume" neither works when written via MacroDroid (root) nor when written via NFC Tasks Pro (without root priviledges).
The display briefly flickers if a "media control pause/resume/pause-or-resume" command/task is issued via a NFC tag. But, nothing else happens except ... [see next paragraph].
If I play an audio file in the LineageOS Music Player by tabbing onto the file in the file browser, a minimal version of the player appears. If I hold a "media control: pause" tag onto the smartphone's NFC readern then the app is killed. However, this does not happen when I start the LineageOS mediaplayer manually and start playing audio files from within the player. This happens with no other player.
/edit:
What I tried so far to solved this issue

tried nine different music players
looked for (and tried) different NFC writer apps; however, most of the NFC writer apps do not allow writing media control tasks
searched via my favorite search machine for my problem:

the search results are related to old problems more then five years ago and, hence, target old android versions
often all media control commands are affected
only some apps are affected (e.g. here)

tried another version of LineageOS
tried a smartphone with a freshly installed OS

You could raise this issue in MacroDroid forums too alternatively try with Tasker to rule out automation issues (I neither use NFC nor Tasker but it may be worth a check) +1 for a detailed homework

@beeshyams Thanks for the positive comment. I'll check out Tasker.


text:
Google maps changing a route given by a link
I created the directions using https://www.google.com/maps my PC. The directions are not the shortest route. I've sent the link via Facebook Messenger:
https://l.messenger.com/l.php?u=https%3A%2F%2Fwww.google.com%2Fmaps%2Fdir%2FKooskia%2C%2BIdaho%2BCounty%2C%2BID%2FFog%2BMountain%2C%2BID%2B83539%2F%4046.0870642%2C-115.6040729%2C12z%2Fdata%3D!4m19!4m18!1m10!1m1!1s0x54a099a8e938ec4b%3A0x1a26a25f8e52a6b2!2m2!1d-115.9779189!2d46.1448942!3m4!1m2!1d-115.676752!2d46.102913!3s0x54a09fc76bce9d25%3A0x54e8e74decd35d79!1m5!1m1!1s0x535f46b661626efb%3A0xddb17339bfa227d!2m2!1d-115.236512!2d46.0932474!3e0&h=AT3h0DE3UQ4wWecBOlI0Mr6-t_ry6N3SZ02I9_vrNtno2dbHaDM8y26hkRtpq_gqHflsPsrZYk1ENemba7z-JkFdZanus04llDAzzlduyOsBSDNS7viQ5N8NaT_Tng
When I open it on Android 11 phone the last part of this URL is trimmed:
&h=AT3h0DE3UQ4wWecBOlI0Mr6-t_ry6N3SZ02I9_vrNtno2dbHaDM8y26hkRtpq_gqHflsPsrZYk1ENemba7z-JkFdZanus04llDAzzlduyOsBSDNS7viQ5N8NaT_Tng
and Maps app displays a different route. When I try the trimmed or a full length link on my PC in Chrome the original route is displayed correctly. How to make Android display the original route?

I just tried opening the link on Chrome PC and looks like it's Facebook who trimmed the link. Also, I got 2 different results on Chrome PC; 1) the trimmed Facebook link goes to Fog Mountain, Idaho 83539, United States by car, 2) the original URL goes to NF-319, Idaho 83539, USA with recommended travel mode.

@AndrewT. I had the same results with both links on my PC. To fix the problem on Android, I chose a named waypoint instead of dragging the route with a mouse: https://www.google.com/maps/dir/Kooskia,+Idaho+County,+ID/NF-286,+Idaho+83539/Big+Fog+Saddle,+Idaho


text:
How to view/edit a long URL?
I have a long URL displayed in the URL box of Chrome on Android 11. I would like to view and edit it. When I use a pencil tool, only the last part of the URL is visible and accessible for editing. How to scroll left to the beginning of it? I tried two fingers with no effect.

It mostly depends on the keyboard you use.

If you use Gboard, there is no HOME key. But, you can use its Text Editing feature. The top arrow key mimics the HOME key. See recording below.

If your keyboard has a HOME key like PC's keyboards do, then pressing the key will send you to the beginning of the URL.

I was using the UP key, as suggested in the answer, that used to work until a few days ago. Now it doesn't, and I have to drag the pencil icon for long seconds. Does anyone else has the same observation and found a way to restore the normal/efficient behavior?

@jbd It still works on my side. Gboard version 13.7.12.582282722-release-arm64-v8a. What version do you use?


text:
Help me root my Vivo Y83
So i somehow unlocked bootloader of my Vivo Y83 (vivo1802).
but now after flashing magisk patched boot image my phone goes on bootloop.
and after flashing back original boot.img phone comes back up
need solution on it!

1.patched vbmeta in boot...as there is no separate vbmeta.img in my firmware........2. preserve force encryption!

I think my issue is completely different as magiskinit is not even called by kernel when trying to boot…….I will give Older version a try though and update here!!

oh I see it's that sticky issue #5148

yes kinda like that...don't know really           .Have really weird firmware possibly hardest to root!....no twrp either.


text:
Cannot install apk to my device manually, got error "App not installed"
I'd like to publish my app to Google Play Store; but first, I would like to do a last testing with the signed apk to ensure that all of the used API keys are working correctly with the release version (GMaps, Facebook, etc).
So, I just made a signed version of my app with our release key and when i try to install the app to the device i got an error:

I have tried to copy the apk to the device and install it with an apk installer app.
Strange thing is when I do the same process with debug signing key, all is well, I can install and run the app.
Here are the steps of the procedure:

I select the release key, type password.

I do select release build type instead of debugging

Just in case I also defined in the gradle file the signing keys; but, I must admit I dont know is it necessary.

I tried like 7 seven times now. So, I assume this problem is not just a mistyped password, also I can make this work with the standard debug android signing key.
Please help if you can.

Please try to install the APK using the command adb install .... this is the only way to get a meaningful error message.

Were you using the same package name for debug and production versions? If that's the case, did you uninstall the debug app before installing the production app? Otherwise, the signature won't match.

This helped me solve the issue. Just go to the Settings --> Apps --> Click on your App. ---> In App info page at the action bar menu there will be an option called " Uninstall for All users " click that. Your app will be completely uninstalled and now you can try installing the new version with no issue.


text:
How to delete data from an uninstalled app?
My Android 8.0 phone is showing the 32 GB is full. I have deleted videos and stuff but I wonder if apps that I uninstalled have not deleted their data.
How to find out?

For apps you have installed you should have some sort of app manager to view the app info --> storage, which you should probably clear data/cache before uninstalling.  Supposedly you could re-install an app and clear the data.
Alternatively install an app to help you clean up junk like "SD MAID" and use its CorpseFinder to find orphaned files, you get a list so you can go through and choose which files you want or not want and bin them I believe.
I've personally used ES File Explorer, which is better, but apparently it only seems to be available from 3rd party websites now as Google has removed it from the play store for "click fraud".


text:
How to check if Status bar is expanded?
I would like to determine, using ADB, whether Status bar is expanded/collapsed. I'm just looking for a way to check whether it's expanded or not, not what caused it to expand/collapse.
I know that there is cmd statusbar that can either expand or collapse the Status bar but I couldn't find a way to check its current state.
What I've tried so far:

comparing the output of dumpsys window windows| sed -n '/Window .*StatusBar.*:/,/Window .*:/p'
comparing  the output of dumpsys statusbar -> mDisableRecords.size is the most promising key, but I can't understand what exactly its value mean.

Can this check be done through any other command or am I missing something?

grep StatusBarWindowController from logcat. Whatever last entry you would grep will tell you whether expanded flag is set to True or False.


text:
Hotspot and Position automatically toggles off
I'm on a POCO phone M4 pro 5G, running MIUI Global 12.5.8 Android 11 RP1A 200720.01
Sometime I face this annoying problem which apparently no-one experencied on the internet.
If I'm sharing my connection via WI-FI Hotspot, at a point it may stop working as the button turns off. This may happen once or twice every week randomly (not linked to battery saving mode).
Once the hotspot button toggled off, I coudn't get toggle it on again not even by restarting my phone. As soon as I touch it, it toggles off again. This problem may go away by itselfs in a matter of minutes or hours.
I've never notice before but tonight this thing happenend and I got an error saying my GPS wasn't on anymore. When checking the position button it was toggled off as the hotspot one. I coundn't get back neither of them.
After 30 mins without any restart they started to work again.
What could be the problem... and the solution?
Thanks

When the issue occurs, have you tried to access adb logcat to see if any relevant messages appear? Also does the device feel excessively warm, i.e. thermal throttle?

@MorrisonChang Actually I didn't. I don't have any clue about that.

I'm afraid that's a hardware defect

Are you stationary when this occurring or moving around from one hotspot area to another?

There are several things to try such as:
Enabling and disabling Airplane mode to refresh your connections.
Change your AP Band from 2.4GHz to 5GHz or vice versa.
Do you have an option in your phone to turn off your Hotspot automatically, which may be affecting you if your devices/apps are slow to respond.  If so go into Settings,Wi-Fi & Network > Hotspot & tethering > Wi-Fi hotspot and then disable "Turn off Hotspot Automatically"
I personally tend to wonder if your problem is related to 5G, do you have access to a 4G sim to test in your device to see if it makes any difference.


text:
Developer options suddenly disappeared
At the same time, the developer options suddenly disappeared on all the android devices that I used to test. I didn't do a reset or anything. Not even turning off all these devices. Why did it happen? am i hacked? maybe there are people who want to prevent me from completing the application that I made by making me confused because suddenly logcat can't connect, ON ALL ANDROID DEVICES I USE..

Please mention the device models and Android versions, and if the devices are managed by the company or not. Otherwise, we can't really help.

i use xiaomi 9a(android 10) and vivo v3(android lolipop). This two device lost developer option in setting at the same time. I do that click click thing on this two device to get that "you're a developer now" text and it show up again. I'm not shutting down this two device since the last test before i lost the developer option. It weird right?

Go to Settings->~About this device~->(scroll down)Build number.
Click on it.
If it says: nothing,
try clicking on it seven times, to become developer again.
If it says: “you are already developer”,
this means the developer options should be enabled, try to find them via the settings search function.\
I do only know very little about hacking, but it seams very unlikely that someone disables developer options during an attack.
Maybe your app trigger something, or your rom does not allow you to install self build apps.(sometimes devices, which where given to you by schools have such options disabled)

yeah.. its weird. i just use logcat as usual and then i cant connect because developer option disabled. I activate it again by doing that click click thing till i got “you are already developer”. i use vivo v3(android lolipop) and xiaomi 9a(android 10), two different phone from different brand and different operation system. Is that even possible to disable developer option after you unlock it?


text:
(Pxl5) Audio via JBL speaker becomes fractured after some minutes
The following is a consistent problem (reproduces always):

Connecting phone to speaker and turning music on
Music is played, un-fractured.
Within 30 minutes (maybe less), music becomes very fractured: most of the time you can't hear anything, once every few seconds, about one second bit of the music is played.
When awakening the phone (clicking any button), the music immediately returns for another fracture, then problem continues.

Models:

Phone: Pixel 5, Android v. 12
Speaker: JBL GO 2

Troubleshoot:

Tried with another JBL GO 2 - problem persists.
When using Jabra bluetooth earphones - problem does not persist.
Didn't check for other speakers or bluetooth audio equipment.
Didn't check for music players other than Spotify.

I love JBL speakers, but I have similar issues connecting to them with Bluetooth.  I thus have to wonder if their tech has trouble with Bluetooth connections.  Seems unlikely, but the symptoms exhibited are repeatable.


text:
How can one play every music in a folder 2 times (or a specific number of times)
I have a lot of music files (such as mp3) in a folder.
I am looking for a way to play every file 2 times (or a specific number of times) then going to the next file and playing it 2 times, and so on.
Motivation: When listening to short length educational musics (for example for language learning), listening to the music two times greatly improve understanding of the topic. The ability to automatically play every files 2 times would be really helpful, especially when playing during driving in a car.

Normally I'd say that's easy, just create a "playlist", but it seems to not be as straight forward as it once was.
Most ways to create a playlist require the installation of an app, but there are other ways to do it too that can make things complicated for a novice user.
One way seems to be to install VLC for Android, browse to the files you want on the playlist, then click on the 3 dots on each file and add to playlist. I would presume that if you add an individual file to the playlist more once it would therefore play as many times as you've added to the playlist.


text:
App is available for my device, but I can't install it?
How should I understand the following situation:

https://play.google.com/store/apps/details?id=pl.greenway.evcharge&hl=en&gl=US

This app is available for some of your devices

An app is available, but I can't install it because Install button is disabled.

It is saying that the app is compatible for some of your devices (not the device you are trying to install to). You have multiple devices and it's installable on some of them. This is in line with recent Compatibility for your active devices’ section

Try removing &gl=US just in case it's geoblocked.

@beeshyams I have read the last section and it behaves the same thing to me. The gl parameter locks the geolocation of the Play Store listing and it may affect the app availability. This was with &gl=US and this was without &gl=US when accessing from Indonesia with Nexus 5 and Pixel 3a in the device list.

@beeshyams Your first comment seems invalid, because the screenshot is captured on my PC. I virtually never install anything from a mobile device, because I find it much more handy to open corresponding app's screen on my PC. Bigger screen, better usability (mouse + keyboard) and the ability to install single app on many devices using just a single PC. So the "Install" button should be enabled on that PC for at least one of the some devices, if I am getting this correctly. Thank you for all your time and try to help.

@AndrewT. Thanks for trying to help. This turned out to be one-time glitch so I think that we should close this question (as off-topic / can't reproduce?). I restarted browser, then the whole PC, I have cleaned my cookies, all for nothing. Button stayed inactive. About five minutes later, when I was considering creating a blank new browser account, it simply started to work again and I finally was able to install that app. Thank you again.

Instead of closing it, makes sense to describe you were trying to install from PC and it got fixed by itself. May help someone else in similar situation//cleaned up my comments

Well crickey I had the same problem. Removing the &gl=US from the url fixed it it for me. Thanks @AndrewT.

This is a bug in Google Play for web / PC / Edge / Windows 11.
When you analyse a source code of the Install button, you can see the following:

For some weird reason (a bug?) Google Play adds the following:
 data-disable-idom="true" disabled=""

to the <button>'s code.
Removing this fragment and closing Dev Tools allows user to click Install button and continue.
Nothing unusual happens next. User goes through the regular: Verify, it is you + password + device pick + App will be soon installed path and naturally app is installed in about next 3-5 minutes.

I had the same when I searched for apps compatible with my watch. When I performed this trick, It only allowed me to install it on some(!) of my devices but not my watch!

@MarkJeronimus Maybe unrelated. Is your app supported to work on your watch?


text:
TProxy IPv6 not sending connections
I'm trying to capture connections using tproxy, but I'm unable to receive IPv6 TCP connections. IPV4 TCP and both UDP work properly. TCP v4 and v6 are both received from the same accept call. I'm on Android 9.
PORT=2080
MARK=2080

iptables -t $TABLE -A $CHAIN -p tcp -j TPROXY --on-port $PORT --tproxy-mark $MARK
iptables -t $TABLE -A $CHAIN -p udp -j TPROXY --on-port $PORT --tproxy-mark $MARK

ip rule add fwmark $MARK lookup 100
ip route add local default dev lo table 100

ip6tables -t $TABLE -A $CHAIN -j LOG --log-prefix='[iptables] '
ip6tables -t $TABLE -A $CHAIN -p tcp -j TPROXY --on-port $PORT --tproxy-mark $MARK
ip6tables -t $TABLE -A $CHAIN -p udp -j TPROXY --on-port $PORT --tproxy-mark $MARK

ip -6 rule add fwmark $MARK lookup 100
ip -6 route add local default dev lo table 100

The log output shows ICMP packets and TCP packets with IPv6 and IPv4 addresses, but only IPv4 gets accepted on the listener.
Occasionally something connects from WSL on my laptop, but nothing else connects over ipv6 and browser tests such as https://ipv6-test.com/ say ipv6 failed.
Running the command curl google.com in WSL hangs until I press ctrl+c, at which point the accept call returns the now useless socket.

Cross-posted from Server Fault: https://serverfault.com/q/1106053/252799

Cross-posted to Unix & Linux: https://unix.stackexchange.com/q/710747/180315

Please refer to Unix & Linux for more information.


text:
ALLDOCUBE kPad Magisk
Before you ask, I cannot use TWRP or any custom recovery since I couldn't find any for my device.
I have spend over a day trying to flash Magisk on my kPad I got for Prime Day. Every single time, it's been bootloop after bootloop after bootloop in flashing either slot A or B. I couldn't flash vbmeta since there were 5 different vbmeta files and none of them said vbmeta standalone. At this point, I'm about to give up and seeking help online is my last resort.
Thanks in advance to anyone who helps me.


text:
How to Read the Key from phone internal storage generated when formatted sd card as internal storage?
If I manage to get root access to my device, where to find and how to read the decryption Key?
I selected sd card to be used as internal storage and removed it without Using 'Eject' , that too multiple times, which corrupted the data. The data was not readable even in the same Android device in which the sd card was formatted as transportable internal storage. So transferred all important data- images and videos to my computer.
Then reformatted the sd card as portable storage then again Transportable internal storage multiple times & did the same thing with another sd card just to somehow make the data readable by transferring it from my computer into it but could not make it Readable.
All these transfers on the two different s
d card formatted as internal storage may have changed the Key inside the Android device system.
Can the Final Key be used to get the original 1st Key which was generated the very 1st time when sd card was formatted as internal storage?
If so,

How to read the Final key ?
How to get the original Key??
How to use the key to decrypt the backed up data storage on my computer?

Possibly related/duplicate: How to decrypt Adopted Storage? (though might be outdated)

Does this answer your question? Unable to access my data on the same device on which I mistakenly selected SD card to be used as adoptable internal storage


text:
Undoing MagiskHide or updating magisk without the GUI (perhaps by using magisk --install-module)?
I have magisk installed on my phone – binary & daemon version 22.0:MAGISK (22000). It is great. I had to install MagiskHide to enable a banking app that otherwise did not work.
I used the option to rename the MagiskManager binary to something else to prevent it from being detected – which was required for the (evil!) banking app to work. I now wish to update Magisk and install another framework. Unfortunately, whilst I can see the renamed binary to the gui / UI on my launcher, if I tap on it, it doesn't open – the shortcuts to "Modules" and "su" and so forth are still there, but the binary doesn't work.
If I log in via adb shell, I can call su and all works that way. Other apps that rely upon root don't show the permissions dialogue if I did not previously authorise them – unfortunately, because I updated termux, that includes it and su just hangs.
In a root shell, magisk and magiskhide all work – I have disabled magiskhide but still cannot open the manager application.
If I install the latest version of Magisk from github, it cannot connect to the daemon and offers to flash an image.
I am therefore in a bit of a pickle. I would like to know:
– Can you run magisk --install-module <path_to_latest_magisk.zip> to get it to update itself? Would that bring the gui back?
– If not, can I manually undo whatever magiskhide did to rename or hide the MagiskManager gui?
One option I have yet to try is flashing the latest magisk zip via twrp but I am slightly worried that having two versions of magisk is likely to be a BadThing™...
EDIT: Here's what the (renamed) Magisk Manager binary looks like – none of the buttons work and nothing appears in dmesg when I tap them:

Related/possibly duplicate https://android.stackexchange.com/q/231184/131553

https://android.stackexchange.com/q/232411/131553

@beeshyams – thanks for your replies. What do you mean by clearing the data – I haven't wiped the whole phone; pm list packages shows no magisk anywhere and I do not have it installed. I've tried installing and uninstalling the latest apk of magisk, but to no avail.

Oh OK..I misunderstood.. Sorry

So, it transpired that MagiskHide had successfully hidden Magisk from itself. I:

Logged in via adb shell and got root
Ran magiskhide disable
Uninstalled the stub app shown below
Downloaded the current magisk .apk from the github repo
Rebooted (normally) and installed it
Found that magically my previous version of magisk was detected, and I could thus update it.

Phew!


text:
How to decrypt (FBE) file-based encryption Adoptable Storage Android 12
I backed up encrypted data of adopted internal storage on my PC & then Formatted the SD card as portable storage.
But I have not factory reset my android system so the key
for decryption must be inside the Android system internal storage.
Now I have the encrypted data stored on PC & key inside my Android system storage.
If I manage to extract the Key to decrypt the data stored on PC.
Then
How to use that key to decrypt the data?
And where to do the decryption?
On Android or on PC?? And how to do it?

Does this answer your question? How to decrypt Adopted Storage?

please give sample of "encrypted data stored on PC" so we can double check the linked answer applies or is maybe outdated for android 12

Almost all of the backed up data is .jpg files i.e. Images & some of it are Videos (30gb of media out of total 31Gb). Solution linked seems outdated atleast to me on reading it. I am currently on Android 12 with Root access to the device. Can someone help me out here on how to make the backed up data Readable again???

according to documentation if the device is configured to use file-based encryption (FBE) on its internal storage, then adoptable storage uses both FBE and metadata encryption. if you can see plain file names, this leads to conclusion files are not encrypted at all (metadata encryption does not show file names). more likely you faced MTP bug and files are corrupt

This went over the top of my head. Can u explain it in layman's terms? Can the decryption Key present inside the Android system internal storage be used to make the backed up data usable again? Can the Key make the data Readable again? If so, how to use that Key to Read the data or Decrypt the data and Make it usable again?

I said, your files are not encrypted but simply corrupted. yes it's possible to decrypt on PC. but I don't know how to do that for FBE. consult expert for android 12

Is it possible to plug your Android device into your PC and navigate to the files via your Android device and decrypt the files that way?

Try this to retrieve the files: https://forum.xda-developers.com/t/mate-9-how-to-retrieve-encrypted-files-from-a-broken-system-userdata-partition.3894561/

@Lavyansi do you know files are encrypted same way as file on data? guess the key is only for metadata decryption then https://github.com/LineageOS/android_system_vold/blob/lineage-20.0/FsCrypt.cpp#L276


text:
Problem sharing internet via WiFi Hotspot (tethering) while in foreign country roaming
I noticed, whenever I am in foreign country (i.e. DATA ROAMING) I can connect other devices to my android phones via its hotspot, but they (devices) have restricted access to internet..
In other words: My phone, where I would like to share internet via operator's data in foreing country roaming DOES have internet access, but devices connected to it via WiFi hot spot do NOT.
As soon as I return to home country, the problem disapears and tethering works normally.
This I've noticed on 2 Android phones I owned and tried: Nokia 6.1 and Motorola G10.
Vendors claim they do not have a fix for it, operator also claims he is innocent.
Does it look more like a problem of Andorid OS, foreign operators, or my home operator ?
Edit: (based on Robert's suggestion)
My home country: Slovakia (Not to be confused with Slovenia)
My home operator: 4ka
Foreing countries traveled: Austria, Czech Republic, Germany, Netherland, Belgium, France, Luxemburg
Foreign operators: Any one I encountered. Really do not know their names.
Can anyone help to identify the source of the problem, please ?

I have the same problem with operator 4ka. I have checked hotspot in roaming: Czechia, Poland.
I checked it on many modern Samsung phones (more than 3) and no internet on hotspot connected devices. The strange thing is that it works on a very old Samsung Note 3. I'm really curious what that? If I good remember it was working before (2020).

@user389120  Well, so this looks pretty much like a problem of the rookie operator 4ka :)

@user389120 I am expecting the same issue with 4ka operator. Data roaming is working on multiple devices with different os (as Android so iOS) but the internet via hotspot in data roaming is NOT working. My susspissios is (while reading these comments and considering my experience) that this is 4ka issue.

Solution found!
TL;DR: Add default,supl,dun to the APN type field in your APN.
Long story:
I was experiencing the same problem with the 4ka operator (see my previous comment).
After a few hours of debugging, reading, and multiple try-error tests with several options in APN settings, I am able to access the internet on my Mac laptop via a Wi-Fi hotspot from my Android phone (OnePlus 8T) while I am roaming.
Evidence can be found here:

All setting of the APN used are here:

I hope it helps! :)

Recently operator 4ka started to distribute warning sms after a mobile station crosses country borders.
In essence it gives the message:
"For proper functioning of your internet access, please set your APN NAME to 'internet'"
So I did and interestingly enough it DID help !
Hence, there is a good chance they have likely started to investigate after
many complaints of annoyed clients and automatically distribute this sms.
Can't believe it took +-5 years to fix this problem.


text:
How to enable/disable VPN via adb/termux/terminal?
I have a VPN configured on my android device running Lineage OS 18.1 (Android 11). I'm not using any third party apps, I'm simply using the standard Android settings to specify my VPN login data etc.
Now I'm looking for a simple way to enable7disable the VPN connection form the terminal without disruption.
I found a hacky way to do it by launching the VPN settings activity and then sending a bunch of key events to click on the connect/disconnect button.
Connect:
am start -a android.intent.action.MAIN -n com.android.settings/.Settings\$VpnSettingsActivity && input keyevent 20 && input keyevent 23 && input keyevent 61 && input keyevent 61 && input keyevent 61 && input keyevent 61 && input keyevent 61 && input keyevent 61 && input keyevent 66

Disconnect:
am start -a android.intent.action.MAIN -n com.android.settings/.Settings\$VpnSettingsActivity && input keyevent 20 && input keyevent 23 && input keyevent 61 && input keyevent 66

But first of all, this will open the settings dialog in the foreground, disrupting whatever I have been doing and secondly this whole method relies on the UI to have a specific amount of fields and buttons.


text:
Is it possible to switch to a new phone with all data?
How do I switch to a new phone transferring all data (without root access)?
All data means (at most):

Files and folders (including some hidden files, like browser's cookies)
Apps and their data
Settings and app permissions

Not possible ......

@beeshyams, Is there any chance that any cell phone company (including Google) will add this feature?

I have heard of some Chinese OEMs having this feature but also that they discontinued it.  It's very unlikely that it will be added, given that Google backup service is felt sufficient (for me it's crappy)

@beeshyams, please answer this question with the most complete data switch method (not all data, but most)

OEMs provide D2D transfer apps comment329712

@alecxs, but non-system apps don't have enough access to most of the data I mentioned, right?


text:
How can I remount an external storage SD card?
My external sdcard1 has disappeared leaving only sdcard0 emulated. I have looked in device/storage, and the folder is indeed gone. How can I mount or remount my external storage sdcard1?

fwiw I can mount my external exfat SD from a root terminal with mount /dev/block/mmcblk0p1 /storage/1726-1212 and then see the files in that target folder ... but only from the terminal. The file explorer app does not see it. A reboot should automatically remount the sdcard anyway though.

One way would be via USB using an SD card adapter, I have one myself that I use for all my various devices, PC, Tablet and so on.  Especially handy when I am taking photo's to my PC.


text:
Hide an app on an AVD
I want to perform exploratory testing on an app my team is developing, and for this, I'd like to be able to manually hide and unhide apps on an AVD. Is there a way I can do this?
I observe that with adb shell, pm hide $PACKAGE is available, but I don't appear to have permission. The terminal shows me the output:

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

Is there a workaround on an AVD? I'm on Android 11. Can I start adb shell with the necessary permissions?
(I really don't want to have to write an app, make it the device manager, and run it to hide other apps.)

What does pm disable-user $PACKAGE does?

That gives the output Package cs.rcherz new state: disabled-user. After having done so, though, pm hide cs.rcherz still gives the error message about android.permission.MANAGE_USERS which is printed above.

One you have already disabled an app, why do you want to continue with hide?

@Firelord I want apps hidden because I'm doing exploratory testing for our MDM app. In particular, I want to verify its behaviours with respect to hidden apps. Being able to hide the apps with a simple execution from the shell would facilitate this exploration.


text:
What what do the colors represent an Android 11
Hi I have an Android 11 Motorola phone and I was wondering what the colors represent next to the contacts and also the colors that are different using during the text

Possibly related/duplicate: Contact avatar colors

Does this answer your question? Contact avatar colors


text:
I can't select app from from Personal profile
I have installed the Poweramp app

in my Personal profile via Play Store. However, when I try to add a Music folder, I can only select folders from my work profile

the following toast appears: You're using this app on your work profile.

Build number: 939
Android 11
RedMagic OS V4.5

The toast message indicated that it's installed on the work profile. Just to be sure that you installed this app from your personal Play Store, not your work profile's Play Store? Usually, there's a small icon indicating work profile apps

Hi @AndrewT.,  My Personal and Work profile have different Google Accounts. I already tried reinstalling the app in my Personal profile. I have uploaded an image above showing it's not installed in the Work profile.


text:
Android Outlook Search problems
Outlook for Android appears incapable of searching my IMAP emails (text or even subject) except for the inbox.
Zero matches every time, when Outlook on the desktop and Windows Mail have no trouble with the same mailbox.
However new the emails, it can't find them if they are in any folder other than the inbox.
It searches all Gmail folders fine, however.

As far as I'm aware, what you're experiencing sounds symptomatic of the account IMAP folders not being synced to your current point-of-use device.  There should be configuration settings somewhere that allow you to choose which individual folders you want to sync from your mail server to your device.  If you're unable to find such settings, you may want to try another application that offers such fine-tuning, or possibly even check if there's any options available server-side (e.g., via browser webmail client).

It seems this has been encountered by many users of Outlook for Android (myself included). All the research I have done indicates that this is a bug in the app (at least in recent versions). There have been multiple posts on the Microsoft community sites, such as Outlook Android Search.
It seems a workaround is to

click on the down arrow next to the home icon (looks like a house) to the left of the search box and then hit 'all accounts' on the drop-down menu.

This only works if you have multiple accounts; I only have one account and there is no option to search all accounts.
I suspect there is an indexing problem - if anyone knows how to clear the index then re-index, please advise.
It would be great if Microsoft were to fix this issue.
My version of Outlook for Android is 4.2343.1.


text:
Mobile data works on Gmail but not on any browser on Pixel 4a 5G
I have a Pixel 4a 5G running on the latest Android 12 as of 7/22/22. With mobile data and background mobile data enabled in apps, I can make phone calls and check Gmail, and yet, no browser works: Firefox, Chrome, Duckduckgo. They spin or put a loading bar and eventually say "no network connection".
I've reset the networks and reloaded the base system (system reset), but nothing changed.
Any ideas?

Try turning your wifi off. Your phone may have grabbed a wireless network redirecting http to a login page. Mine likes to latch on to "xfinitywifi".

Sure have tried it. . .  No go.  Wifi on/off Mobile data On/Off. . .  Mobile data is definitely being used by Gmail, but not the regular apps like browsers, et. al. . .  Tried another Sim.  Same problem.  Must be some screwed system parameter. . .

Turns out that my problem is with 5G.  The phone reports a connection with 5G. However, the 5G connection will not work with Google Voice, nor any app other than Gmail.
I must set the preferred network to LTE to get the phone to work properly. I thought initially that it worked without setting the preferred network to LTE, because the tower at the place where I live has no 5G coverage whatsoever, so the connected network was LTE. The minute the phone connects to a 5G signal, the data service drops out for Google Voice, and all other apps including browsers.
Found a fix.

I turned off WiFi.
Go to the SIM. Set the preferred network to LTE.
Let the phone connect to mobile data.
Turned on Airplane Mode.
Checked the browser to assure that there was no internet connection.
Dismissed the tab, and shut down the browser completely.
Turned off Airplane Mode.
Waited until the phone reported connection to mobile data (icons at top).
Brought up the browser (WiFi is still off), and typed in search.
Voila, the browser now functions properly on mobile data.

Summation: I don't know if the phone I have is defective, or if my carrier has a problem. I would like the phone to work properly on 5G, though, it's why I bought this model.
I'm leaving this up in the hopes that anyone having the same problem won't have to suffer as I did.


text:
How do I save GPS data when copying photos?
I use OpenCamera to take photos of construction sites. There are checkboxes in the settings:

Store location data;
Store compass direction;
Require location data.

All checkboxes are checked. Photos are saved in a folder at /Storage/DCIM/OpenCamera.
Location data is stored in the geo-tags in the metadata of the photo. But when I copy photos via USB cable or Files, the location data is removed from the copied photos.
Location data also disappears if I create a zip-archive using the Files app or share to whichever Android app I use.
How do I copy photos to my computer along with location metadata?
UPD It has been empirically determined that this behavior has been noticed since Android 12.
Copying photos with GPS tags is possible only through termux. I have to make a tar or cpio archive and then copy the archive file to the computer. This is tolerable when I can copy all files from a folder, but unbearable when I only need to copy a few photos from a big list.
How can this feature be undone?

Which mode do you use for file transfer (PTP or MTP) and what client on PC side is used? You can try to enable Android Debug bridge (ADB) in developer options and use adb from Android SDK to transfer the original files to your PC.

@Robert I use MTP. I also use an app called Files. The tags containing the GPS coordinate information disappear when I copy the photos to any other folder. All other tags remain unchanged. After copying the photos, the file sizes of the copies and the source files are slightly different. The dates of last modified copies are also changed to date of copying.


text:
How to access the Emoji keybaord on a new Samsung Galaxy S22+?
I bought a new Samsung Galaxy S22+, but I don't see the Emoji keyboard. I think it should exist on my phone, but I don't see anywhere how to access it.
My input method is 'Samsung Keyboard', and under 'Languages and types', I have English(US).
How can I enable it or how to access it?

It is pretty hidden, but this is the solution:
When the keyboard is open, press long on the comma (',') button to the left of the space bar. Then, you'll have the option to choose different keys, one of which is the emoji symbol, press it.
Then, the emoji symbol key will replace the comma one, and you can use it to open the Emoji keyboard.


text:
Different vibration sounds for different contacts
I would like to have different notification "vibrations" based on who messages me. Ideally, this would be done on any of the main messaging apps (Facebook Messenger, WhatsApp, Snapchat, Signal, etc.)
Currently, Facebook Messenger does have a different vibration sound than WhatsApp (it has a lighter vibration), so I know that I am getting a notification from Facebook Messenger rather than WhatsApp. That being said, I don't know who is messaging me.
The Nothing Phone (1) aims to solve this problem by having a different array of light based on the notification, but can the same be implemented on any Android phone via vibrations (which has more functionality too since you can use it while in your pocket).
I am using a Samsung Galaxy S20 5g unlocked without root.

The BuzzKill app will give custom vibrations for specific notifications or contacts.
It also has other powerful features such as

Cooldown - Only get buzzed once even if there are multiple notifications in a short space of time
Batch - Save notifications until a certain time.

Is there any free alternative Of buzzkill ? : androidapps

Filterbox

Spren

Nap


text:
Recovering data with a mouse when the screen doesn't respond to touch
Suppose my screen breaks, and I can no longer operate it via touch, but I can still see parts of the screen although broken.
In this case, can I connect to my Android device via a mouse (for instance, a Bluetooth mouse, or a mouse via USB hub that allows me to charge my phone or keep it charged while keeping a USB mouse attached simultaneously)?
This way I could back up some pictures that were not saved to Google photos, WhatsApp chats, or other data.
So, this could be useful (navigating with a mouse when your screen is broken and does not respond to touch).
Is Android configured by default to support this behavior? If not, then i think it should. I don't know which screens break the touch sensor only when they break, but perhaps quite a few. In this case, if Android is not preconfigured to allow this behavior, the mouse will not be able to operate, and the data will be unrecoverable.
Thank you for your answers.

Yes, most devices allow an external mouse. Note that if touch doesn't work you won't be able to pair a Bluetooth mouse or enable Bluetooth if disabled, so for starting you need an USB mouse or keyboard plus adapter and hopefully your phone supports USB OTG so that USB devices work.

I think the question is about OTG charging simultaniously - not working on most devices


text:
Does Android hold audio in RAM when listening for ‘hey google’?
When Android phones have the ‘hey google’ wake word setting enabled so it’s always listening for it, are these audio snippets held in RAM when looking for the wake word and not stored on the phone or storage anywhere? Since overwriting everything it hears on the phone's storage would wear it out?

Yes, some kind of RAM, not flash storage.  Probably raw audio is only held temporarily, with the program (or dedicated chip) doing the processing only keeping some results of processing, like how far into a possible match it is.  I'd expect it processes on the fly, not keeping seconds of audio until a complete match, trying to minimize power usage while waiting for the magic words.

The restriction for 'always on' listening isn't wearing out the RAM/storage, its power management.
Based on: Qualcomm Voice Assistant promotional material, Qualcomm has its own low-power processor for handling the 'wake word' which depending on the activity, bring up the regular CPUs for the OS/apps to manage what happens next.
I suspect that the low-power processor is using its own RAM to handle the wake-word/dealing with ambient audio until detection at which point other parts of the OS stack need to handle things the user is specifying like "do xyz with abc".
Further details can be found in the Android Open Source Project - Sound Trigger.


text:
How to "unwipe" internal storage in TWRP Recovery
I accidentally wiped the internal storage of my phone in TWRP Recovery, it contains extremely important data and I need it back asap. The phone has been shut down if it helps, thanks!
Edit - Just before wiping (everything in twrp format section) I made a full nandroid backup (excluding Internal Storage), would that help with recovery?

Unless your device is pretty old user data partition is encrypted by default. Clearing it means you have also erased the necessary encryption keys which makes recovery impossible. See also comments on this question: https://android.stackexchange.com/questions/237471/backup-and-restore-file-based-encryption-keys

in case userdata is ext4 file system 'adb pull /dev/block/dm-0' to PC (from TWRP) and try testdisk or extundelete (on PC)

Does this answer your question? How to pull data from internal memory on an unrooted phone?

no, backup excluding /data/media is useless for recovering /data/media. what is encryption type (FDE/FBE/none)? what is file system type (ext4/f2fs)?


text:
How do Android apps access phone's simcard and determine the location/country without permission?
I noticed there are apps like Shazam or Tiktok that can find my location/country and offer local content even when I use VPN. my VPN doesn't have any IP/DNS leak.
When I remove the simcard or make it offline in the settings, clear app data and relaunch those apps, then they show content based on the country of my VPN server.
My question is how is it possible that they do this and ask no permission from me? I use latest Android 12, Samsung Galaxy S21 Ultra. this happens on other phones too, for example running Android 9.
Is there a way to prevent this kind of information disclosure without removing/offlining the simcard or rooting the phone?

Is your VPN always active? If not that may be the leak. Besides that no app has direct access to the SIM card, but information like the mobile network name you are connected to can be used if the app has the appropriate permissions.

yes it is always active, using Windscribe pro. this isn't a new thing for me though, for the past year or two, using different VPNs, this has always been an issue for me.
I even enabled always on VPN in the settings, but the moment I offline or remove the simcard, clear app data and relaunch Tiktok or Shazam, everything works as expected and my location switches to the one from my VPN server.

Any app can get the country code if the device is connected to a cellular network. No special permission is needed to call getSimCountryIso or getNetworkCountryIso. You need a framework mod like XPrivacyLua to have such level of control.

@IrfanLatif Thank you, I hope Android changes that in the future versions. for now I'll resort to setting my simcards offline because as you said the alternative would require rooting my phone which is a big no for me for now.

Apps cannot access SIM card directly, neither they can get your exact location without getting permission. But they can get your country code if the device is connected to a cellular network. No special permission is needed to call getSimCountryIso or getNetworkCountryIso. You need a framework mod like XPrivacyLua to have such level of control.

Can the marked answer in here help?
https://stackoverflow.com/questions/49919745/changing-telephonymanager-getnetworkcountryiso-output-with-android-emulator

A quick look at Android 12 source code indicates that getSimCountryIso should return the value set in gsm.sim.operator.iso-country property. But getNetworkCountryIso still returns the actual country code which is cached within the Telephony service. // Irrespective of that 1) setting property requires root access, and 2) it affects the whole operating system, which means that some apps may behave unexpectedly, or you may see a different locale (language, data, time etc.).


text:
Is `device_idle_constants` deprecated in Android 12?
Recently I've been trying to optimize the doze settings for my device. I found many guides that date back to 2015/16. All of them say something similar: To change a deviceidle setting, I have to input adb shell settings put global device_idle_constants inactive_to=30000,sensing_to=0 (for example) in a terminal. When typing in adb shell settings list global, device_idle_constants doesn't get listed tho. Seems to me it's deprecated.
My Problem: This setting doesn't change anything at all. When I change sensing_to to 0 like I have shown above, it's still at 4m0s0ms. I can confirm this by putting adb shell dumpsys deviceidle in the terminal.
Does anyone know how to change those doze parameters in Android 12(L)?
Btw: I have a Poco F3 with LineageOS 19.1

Doze configuration has been moved from global system settings until Android 11 to device configuration since Android 12.
Until Android 11, the Doze configuration is in Settings.Global with device_idle_constants as the key, thus it's still possible to change the configuration using adb shell settings put global device_idle_constants [VALUE], with [VALUE] as a single string, separated with comma for multiple values.
However, since Android 12, the flags have been migrated to DeviceConfig with device_idle as the namespace. To change the configuration, use adb shell device_config put device_idle [KEY] [VALUE] instead.

I know I'm late, but I wanted to thank you for this. Still using this to tweak idle drain for my Android phone.
I've also written a guide on xda for this and mentioned your answer there. If you want to check it out, here it is: https://xdaforums.com/t/improve-idle-drain-by-tweaking-android-doze-parameters.4479005/


text:
Getting correct camera information about Android device
I was using the Droid Hardware Info app for Android and I checked the "camera" tab, and surprisingly for my Redmi Note 10 Pro, it only showed a 12MP. According to the specs, Redmi Note 10 Pro should have a 108MP camera.
Is this app giving me the wrong information or did the camera manufacturer put 12 instead of 108 or something? Could someone tell me what's happening?
EDIT: I am wondering if 108MP is the actual physical resolution of the camera?

I don't know your device but usually phones with such a sensor chip don't make 108 Mpixel pictures, that does not make sense. Instead they combine multiple pixels for decreasing image noise and they only use a certain region of the chip sensor. The hardware info apps only see the spec that Android exposes to the apps.

The device has an array of several cameras. Did the app show only one camera's specs?

@YisroelTech , it shows 2, which I believe should be for the front and the back, while the rear camera is a quad cam, should've shown 5

Try https://play.google.com/store/apps/details?id=ru.andr7e.deviceinfohw which seems (based on some screenshots) to have more detailed info.

@YisroelTech , this does show 108MP, but I wonder what's the difference between the two readings

Post (screenshot) the full results of both of them so we can try to compare. It's either they only read one of the 4 sensors, or (as @Robert mentioned, that it read the actual MP the result is in, since the 108 MP might be used to make the photo better but not all pixels are actually in the output.

Try to use this camera2 probe https://www.celsoazevedo.com/files/android/google-camera/dev-bsg/camera2test/


text:
How To Charge Android Phone In Fastboot (Bootloader) Mode?
My Android Phone Is Not Charging. Bootloader Shows The Warning Battery Low. I Accedentaly Erased /Boot /Recovery /System Partition. And Because Battery Is Low I Can Not Flash Boot.Img And Recovery.Img.
Is This Happening Because I Erased /Boot /Recovery If Yes Then Why ? When I Connect The Phone With My Laptop On Fastboot Mode It Starts The Charging [AND THAT TO VERY SLOW ] Not In Wall Charger.
I Did Not Find Any Working Solution On Xda , Stackoverflow Etc. Can Anybody Help Me To Solving This Plz.

What happens if you shut down the phone and then connect it to the charger?

Firstly It Does Not Shutdown , When I Hold Power Button To Switch Off The Phone Nothing Happens.When The Battery Gets Discharge Fully Then It Switch Off.
And Then I Plug It With Charger It Starts Charging Only For 2-3 Min (The Chargin Notification Light Turns On ) And Then It Starts Up Automatically And Go Into Bootloader  And It Stops Charging.(Charging Notification Light Turs Off )
Bootloader Gives Warning Battery Is Low.

If Some How My Phone Dont Start After Pluging  Charger Then I Guess It Can Charge.
I Dont Know I Think Bootloader  Is Stoping My Phone From Charing.

for flashing in preloader or edl mode, no battery is needed at all


text:
Nokia C01 Plus - only 3 icons allowed in Quick Settings/Swipe Down Icons
This is Nokia C01 Plus running Android version 11 (as per what's shown in About Phone).
Quick Settings (swipe down icons) - when you swipe down from the top of the screen, you get these icons which allow you to toggle several settings (WiFi, Airplane Mode, Mobile Data, Flashlight, Bluetooth, Hotspot, Data Saver, Battery Saver, etc).
On all Android phones I have used, there are multiple rows of these icons visible when you swipe down. But on this phone, I can just have 1 row with 3 icons - most icons are available when I try to edit the swipe-down icons list, but I can only have 3 in total available at all times.

Image courtesy of 91Mobiles
Is there a way to have more?

Might be worth noting that this phone runs on Android Go which might also affect the UI behavior.

This may or may not work without root dependant upon multiple factors.  Download a settings .db editor such as SetEdit, then follow the instructions provided in the app's description in it's Play market description to grant it additional permissions through ADB.  Open the app and search for any keys that begin with or contain "sysui_qs..."; these pertain to the QuickSetting tiles.  If you find a key for "sysui_qqs_count", try modifying the value to, e.g., "5" and see if that works.  Otherwise, you can try straight ADB modifications (e.g., here's an XDA thread on the topic).  If it doesn't work, you might require root access.
EDIT: Instructions for ADB permissions:

I downloaded SelfEdit, but I don't see any instructions in playstore to grant additional permissions. I see lot of different settings categories in SelfEdit - but I don't see any which begin with sysui. Which category does it fall under?

Added a screenshot regarding the ADB instructions.  I would check secure table, but YMMV depending on make, device, or even carrier.


text:
Can changing IMEI of an Android smartphone make WiFi & Bluetooth refuse to work?
I recently used a third party software to change the IMEI of a device but then WiFi, Bluetooth is not turning on when I try to. The switch turns on and then the system turns it off in an instant. Is there a third party software I can use to tell if the system detects a Bluetooth/WiFi hardware installed on the smartphone and could the IMEI change have made the hardware non-functional?

Wifi and Bluetooth don't depends on IMEI. Most likely the IMEI changer software has destroyed something and now those services fail to start.

Is there something I can use to check if the adapter is installed?

What adapter are you talking about? To make it work again restore the old state by an undo operation the IMEI changer hopefully provides or reinstall the original firmware hoping that it includes the part where the IMEI changes has modified the system.

What Android device and what third-party software did you try? AFAIK, changing IMEI needs root access, so if the device is not rooted, then it would just fail... unless the software also rooted the device... and doing other things.

There are 2 questions here. The first is on-topic, and the second would be on-topic at Software Recommendations SE.

@AndrewT. You are correct the device is rooted.


text:
Friendly way to read Samsung's built-in Messages app's XML backup
I have an old Samsung Galaxy S7 running Android 8. I am using what seems to be the built-in SMS app, called "Messages," the icon is

I used this app's Backup feature to create an XML file. I uploaded it to my Windows laptop, but when I try to open it, I see raw XML or I get an error message (from Excel and OpenOffice--both Calc and Writer). Calc says "General input/output error." Excel says "This XML file cannot be opened because of an error."
The question is, how can I open this file and get a human-friendly display?
(I suppose I could use a standalone SMS backup/restore app, but I prefer to minimize the contents of my device.)
Thanks!

Google's official Messaging app is this Messages and it doesn't have an in-app Backup feature. Looks like it's Samsung's own Messaging app.

And as for reading the XML: you might try your web browser. At least Firefox usually can render XML, unless it's "heavily customized" (which I wouldn't wonder in case of Samsung).

Just open the XML file in a text editor like Notepad++. Common XML files don't have information for displaying it in a human friendly way. If your new phone is not one from Samsung it may be better to use a general SMS backup app like SMS backup & restore which also has a viewer app: https://sean.lane.sh/SMSViewer/

@Izzy The web browsers all just render it as text, just like Notepad, so I have to parse it in my head. "This XML file does not appear to have any style information associated with it. The document tree is shown below." Thanks!

@Robert Sounds like I just have to use a third-party app to be able to sort or otherwise work with the backup. Thanks!


text:
Is it possible to fake the Android version to allow ROM downgrading?
I was trying to downgrade an Android 11 on Samsung Galaxy A01 Cricket (SM-A015AZ), but cannot because the download mode doesn't let me install an older ROM. So the plan is somehow to modify the info of the old ROM to "lie" about the version to appear as a recent ROM, but it is still in fact, an old ROM.
Already spent a lot of hours searching on Google. Only found how to create a custom ROM from zero or how to modify ROMs from Android 1 to Android 7.
Does anybody know how to do it?

downgrade protection is for bootloader level (and can't be by-passed at all)


text:
Can't enter recovery mode on Samsung Galaxy A10s after bootloader unlock
So I unlocked my Samsung Galaxy A10s bootloader and wanted to flash TWRP. After flashing it, I realized I can't enter recovery mode. If I keep pressing the power + vol up, it just shows the bootloader unlock warning and keeps bootlooping. When I let go, it boots normally.
At first, I thought it was a TWRP problem. But then after it booted, I tried to enter recovery and it didn't enter (I tried via adb as well). After that, I again flashed the stock ROM using Odin; the same result,
Is there something I am doing wrong?


text:
Way to switch between users via shortcut/intent/activity?
I have a device with MIUI 13, that removed (hid) the Android stock multi-user feature that I need.
I recalled the activity to show the multi-user feature in settings via shortcut maker (adding accounts works normally), but unfortunately, the lock screen UI doesn't show the switch user shortcuts. So, the only way to switch is to enter in multi-user menu and choose one, but with a PIN-protected device, it's not applicable.
Then I need a way to "programmatically" switch to a user with an intent/activity (sorry, I never developed on Android, some concept is not too clear at this time), exactly how to the Android stock lock screen UI does. Having a way to do that in this way, I can place a quick setting tile to achieve my target.
Someone can push me in the right way?

Hi, just a note that Android app development is off-topic since Android Enthusiasts focuses on end-users or power-users (but not necessarily developers) solving their issues. So we can't help with coding, but we probably can help from end-users POV like using 3rd-party apps and/or [tag:automation] apps and providing the commands, etc.

Sure. This is a borderline thing. The part of app developing is a next step. (and if I can avoid to develop a custom app it's better :) )


text:
Is there any way to prevent an app from restarting after force stopping it in the settings
I've tried to force stop Whatsapp but after some time it restarted. This is so disgusting and apparently out of control. What can be done to prevent it from restarting.

Try to set RUN_IN_BACKGROUND permission to ignore: Disable autostart on boot and restrict background execution. But it's not guaranteed that the app won't ever start again because it uses scheduled Jobs / Alarms as well as Google Cloud Messaging to receive new messages. Also setting WAKE_LOCK to ignore may help. You can use my app PMX to set both permissions conveniently.

Related: https://t.me/PermissionManagerX/2703

Did you find a working solution to this? I used to force stop Whatsapp on my Samsung A21s and it wouldn't start unless I open it myself. Now on my Samsung A33 5G, it restarts on its own.


text:
Android contact sync fails
Not like in other question, contacts entry is actually displayed in google sync list, but sync still fails with same error:
"Sync is currently experiencing problems. It will be back shortly."

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

Check that "Google Contacts Sync" app is enabled. It will be listed only under system apps, not just under common apps.
(Especially relevant after universal android debloater usage.)


text:
Odin write image after phone not working samsung A10S
I try install twrp using Odin. AP image write then my phone not working. All key combo not working. My phone Samsung A10s try write samsung A10 this is maybe my fault. How can i fix it.

If your phone seems hardbricked (doesn't do anything), try this guide
https://forum.xda-developers.com/t/guide-sm-a107-mtk6765-unbrick-your-samsung-galaxy-a10s-stuck-on-a-black-screen-recognized-as-preloader-usb-vcom-and-cycling-rebooting.4322581/
Btw I am stuck on the same boat as you, I have a working phone but just can't get to twrp after flashing....
P.S. The above Guide will work with A107F as well


text:
Connecting a DVD/CDROM reader through USB OTG
can CDROM/DVD readers be recognized and managed as standard USB mass storage?
Does Android include drivers or libraries to read this quite standard hardware?
Are drivers or root required?
Any tip about using on android TVS?
I plugged an external DVD player with external power supply to an Android TV through OTG.  Drive/media was not recognized, ghost commander or VLC didn't detect the device.


text:
Get PKCS#8 key from .jks storage
Previously I used jarsigner tool for APK signatures.
But jarsigner provides v.1 sign only.
So, I'm trying to move signing process to apksigner because I need v.2 signature as well.
And it works well when I use .jks for it.
Please, check example below.
  apksigner sign \
     --ks some.jks \
     --ks-pass pass:somepass \
     --v1-signing-enabled true \
     --v2-signing-enabled true \
     --v3-signing-enabled true \
     --v4-signing-enabled false \
     --out DESTINATION_APP \
     PATH_TO_APK

Also I need option to sign APK with key and cert parameters.
I've tried to use my .key and .crt file from .jks storage but it returns me an error.

According to the documentation key file must be in PKCS#8 format and cert in X.509.
Could you please tell me how can I export .key and .crt in correct formats?
Thanks.

@Robert, I've removed post from there. It was added to Serverfauld mistakenly.

I would try to open the JKS file using https://keystore-explorer.org and then export the private key using context menu.


text:
What is a system app "AgingFunction"?
Was just messing around with the list of apps in my phone and found an app named "AgingFunction". No, it is not one of those apps that have that aging filter that make you look old or something. It's a system app that does not have a wrapping GUI. Felt off so looked it up online but didn't find much.
Recently heard about Samsung putting an app that throttles performance on devices for so-called device life-prolonging, but turns the throttling off during synthetic benchmarks and stress tests to make it look like device performance stays constant while it does not.
Is this a similar case and should I remove it (can't really remove but disable it using platform tools)?

Hello. Give us package name of this app. If you need help in finding that see my answer here. Also, which Android phone and Android version are you using?

"Samsung" has been mentioned in the question, but just to confirm, is your device also Samsung? On the other hand, I found Tecno has com.transsion.agingfunction. Just to confirm which device it is on because each manufacturer can customize their Android and have different system/built-in apps.

@Firelord The phone I'm using is a Infinix S5 running on android 9 pie

@AndrewT. Yes Andrew I think that's the [package name since Tecno and Infinix both are owned by Transsion , they might have common package names , btw the device I'm mentioning here is a Infinix S5

Guess I'm rather late for a reply but yeah the package name is indeed com.transsion.agingfunction and yeah .. i actually did remove / disable the app through adb and having no issues whatsoever .. tried and tested it . Even used it on a fresh os install of the factory rom that came pre-installed with .. it did not have a wrapper and as per the icon was a system app .  But still couldn't figure out what it did in the first place . My phone comes from Infinix so yeah companies like Tecno and Itel also might have the same apps since it all owned by the same parent company  .. Chinese companies ..


text:
Recover data from unbootable phone
I have a BQ Aquaris X Pro. During a phone call it suddenly started to reboot mid-call but it hung during the boot process (on the "second screen" where it says "Aquaris" in white, animated letters). Restarting the phone doesn't help, it still keeps hanging on the same spot (sometimes already on the first screen with the BQ logo).
So far a managed to enter recovery mode. I tried View recovery logs, but I didn't find any error messages. I tried to wipe the cache partition, but that didn't fix the problem.
So I want to recover a few files manually. In the recovery mode menu I tried to select Mount \system and then Apply update from ADP. The device shows up in the Windows 11 device manager:

I'm able to connect to the phone via ADB (after installing Android SDK and JDK):
C:\platform-tools_r33.0.2-windows\platform-tools>adb devices
List of devices attached
BL000110        sideload

I tried to access with adb shell but it returns with error: closed. I assume this is because of the "sideload mode" or could there be another reason?
I searched through quite a few articles and found possible causes like wrong USB drivers or not enabled USB-Debugging. I also noticed that in "Fastbootmode" (when I select Reboot to bootloader in the recovery menu), the device is not recognized in Windows:

At the moment I'm a little bit lost, any helpful hints are appreciated.

on locked bootloader your only chance to get (encrypted) dump off device is via EDL mode (deep flash cable or test point and prog_emmc_firehose_8953_ddr.mbn required, user spark1991z may tell you)

@alecxs thanks, that seem to be quite a lot of work. If the is the only way, will there be way to decrypt the data?

No. but raw backup is recommended before trying to hack into. some modification might possible, if you're lucky you can root and enable adb by patching boot.img on locked bootloader. maybe prog_emmc_firehose_8953_ddr.mbn is generic so may work with preinstalled loaders from github, try without loader given first

@alecxs so if I understand correctly, your suggestion is just to do a backup in case s.th. goes wrong during the recovery process? (sorry, if the question seems superficial, I haven't worked with Android systems in such depth before, and still have a lot to catch up on)

Yes. you need EDL to patch boot anyway


text:
SMS messages don't appear for secondary user profile
This is Android 12 on a Google Pixel 5a. I've got a secondary user profile set up and I've enabled SMS/calls for it.  When logged in to the secondary profile, when I send an SMS to the phone, I get a notification, but clicking it takes me to the Messages app, where it does not appear in the list of messages.  If I search for the message, it does appear in the search results and I can go to that conversation.  But I can't get it to appear in the main list.  It does work fine when I use the main admin profile.
I've tried rebooting and clearing the cache for the Messages app.


text:
Can Android Device be flashed without using Host PC? Can we flash full SW image using sdcard/external USB storage
For all Android Products there are 2 ways to flash the SW image:

EDL Mode(Emergency Download Mode) - Normally used when bootloader can't be booted up or for first flash
fastboot mode

Both of above method requires flashing via USB connected to Host PC.
Query:
Do we have any alternative way to re-flash full SW image to Android Device which does not bootup without using HOST PC?

it's possible to run fastboot from another android device as host. flashing ROM from SD Card on device itself is possible in recovery mode

@alecx thanks. But recovery mode will not help if device is not bootable. It also can’t enter recovery mode. Do you have any suggestion/detailed steps how can we run fastboot from another device as host and flash.

there is a Magisk module for this


text:
Save notifications when rebooting
When you reboot an Android, all notifications are deleted. Is there a way to save the notifications and restore them after reboot?
Any help would be appreciated.
Thank you.

Perhaps a script with SL4A for example to automate a task so that on shutdown/reboot of the device notifications are saved to a txt file in your home drive.
I don't have experience with it myself, but if anyone else knows a better way to automate a script on Android I'd be very interested too.
EDIT: On upon further research what you want is a notification logger app, such as Notification Log which records your notifications locally and enables you to browse/export them at will.  Another possible app is Notification History Log

Notification Log is great. Thank you so much. Notification History Log is a pay app so I never try it.


text:
where is the binary for fastboot mode located and How can I get a copy of it?
Edit
Thanks to everyone in the commen section, lk.img seems to be what I was looking for and it is indeed right, because it has strings for varies commands like
oem p2u
oem reboot-recovery
oem off-mode-charge

the lk.img for my phone can be downloaded here
The only thing left is to reverse engineer it but most programs I use cannot figure out what file type it is
Motive
I am trying to find the binary for fastboot mode
in my phone
So that I can understand what my phone 's vendor fastboot does when I send
a command using fastboot protocol
what Have I Tried
1
I read fastboot's source code here
in the Android.bp

cc_binary {
    name: "fastbootd",
    defaults: ["fastboot_defaults"],

    recovery: true,

    product_variables: {
        debuggable: {
            cppflags: ["-DFB_ENABLE_FETCH"],
        },
    },

    srcs: [
        "device/commands.cpp",
        "device/fastboot_device.cpp",
        "device/flashing.cpp",
        "device/main.cpp",
        "device/usb.cpp",
        "device/usb_client.cpp",
        "device/tcp_client.cpp",
        "device/utility.cpp",
        "device/variables.cpp",
        "socket.cpp",
    ],

it seems that the fastboot's program on the android phone will be compiled with name fastbootd,
So I tried finding it by downloading my phone's official firmware and locating it using linux's find but it doesn't seem to reside in the firmware
2
I have read similar question
But it didn't tell in more detail on how to get
a copy of the binary and doesn't seem to have satisfactory answer
Phone details
Not sure if it matters because I think all android's fastboot binary should be in the same location
Model Number : vivo1819
vivo ROM : Funtouch OS 10.5
Android version : 11
Hardware Version No. : MP_0.1
Software Version : PD1831F_EX_A_8.1.48

Firmware Download
https://drive.google.com/file/d/13coKM6yMS39MVRauyyZ7FO3B_twlTB1a/view?usp=sharing
Question
So how can I get my phone's fastboot so that I can get a copy and learn more about it via reverse engineering

fastboot is not a binary that is executed, instead it is more something like a mini-OS itself.

Get a dump of partition named aboot or abl or something similar. The same can be extracted from firmware zip.

git://codeaurora.org/kernel/lk.git

https://www.xda-developers.com/how-to-discover-hidden-fastboot-commands

@alecxs how can I do it if I don't have root  and only having the firmware?
I have tried finding it in my firmwares, when I mounted system.img but
/dev/ is empty

@IrfanLatif can you explain to me how to get the dump of partition named aboot?
the firmwares I got contains mostly of img files. I have tried to mount several of the img files like vendor.img and system.img but still cannot find it either

@alecxs alright thanks, in my case I have lk.img in the firmware,
and when I looked at the strings it does seems to be the fastboot .
how can I mount lk.img because unlike other images inside the firmware
its filetype is unknown when I use file command on linux
I cannot use simg2img command on it to mount it

http://www.lieberbiber.de/2015/07/05/mediatek-details-little-kernel

@RikuPotato bootloaders are binaries - usually closed-source and signed with OEM's private key in case of Android - not filesystems. You cannot "mount" the file, though it's named .img. You need to reverse-engineer it. But better have a look at LK source code first. It's open-source. But it won't have OEM-specific changes.

@IrfanLatif thanks for the tips, I will be updating my progress soon

if you want to become reverse engineer, learn reverse engineering. this is a skill, not a software. tools like ghidra or ida can help decompiling assembly to C code, but cannot reveal source code (besides this is off-topic here, we have sister site for reverseengineering questions)

Hi, looks like you've found the solution by yourself, which is great! Consider posting it as a proper answer since self-answering is not only allowed, but even encouraged!. Thanks!