text:
Bootloop after rebooting the system (Android 7)
I have a TRT-LX2 phone, I recently performed a system update and after that my phone booted perfectly. But when I tried restart it again into recovery (I've installed TWRP before updating) it did not boot up and loops. Then I tried to boot it normally, it also loops!
After 12 attempts, the phone was booted into recovery and I restored the backup (which is the previous version of the system). But it still loops!
Finally I connected the phone with the PC and extracted the backup file but I did not see any boot image!
Can I recover my phone now? (Or, I've buy a new one?)

disable dm-verity

@alecxs How can I do that?

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


text:
What happens to a Li-Pol battery L13D1P31 if it is left on a permanent charge?
I have an old tablet (Lenovo Tab 2 A7-30 and a L13D1P31 battery) that I want to use as a permanent display of some data like a weather forecast.
I would like to leave this tablet plugged in permanently. However, it will not turn on when the battery is removed.
I found many articles on tablet operation without a battery, however, there were simple ones considered, and my battery is able to somehow communicate with the tablet.

Can I not suffer and leave the battery in the tablet (or it just needs to be withdrawn)?
Will there be overheating and fires?
Will a battery operating in this mode be able to prevent an emergency shutdown of the tablet when the charger is powered off (so as not to damage the data in the flash memory)?
Does the battery degrade so much that the tablet stops seeing it and won't turn on even when charging (even with the charger connected and the battery inserted, the tablet will not turn on)?

UPD: Tablet have a OEM battery. But for its intended purpose, this tablet is no longer needed, since there is a newer one. However, the old tablet keeps charging up to 4 days in passive mode (works as an alarm). It was bought 5 years ago.

Your tablet model is 7 years old and if you still are using the OEM battery, 1. It would be severely degraded as batteries do with age and performance and NOT a good idea to keep it on permanent charge as it would get heated up fast and may pose risks. 2. Change the battery if you can and use it normally

charger stop charging when battery is full, therefore i see no problem to leave it as is. furthermore some devices require battery for stable current and won't work without

Root your device and install an app that disables charging until e.g. battery reaches 40% (assuming such apps work on your device). Then you could limit charging between 40% and 60% which would to pose a risk to the battery anymore as charging in this region should be even for an old battery no problem.

@beeshyams Well, I do not need this tablet for its intended purpose ... I really would not want to buy a new battery. I would even like to run without the old one ..

@alecxs so what if the battery degrades so much that it will only give out picoamperes? Then, it turns out, the tablet will not turn on at all?

@Robert yes, I considered this option, but just ideally I would like to remove the battery... after all, it will still degrade, it will get hot when charging, etc.

@AlexA. If the battery is degraded really bad then the system may crash if the available current from charger + battery is too weak. Regarding the battery limited to 40-60% this should not be a problem as in that region charging does not produce much heat. As I said even old batteries should be able to handle charging in that region with nearly no degrading. Removing the battery is way more difficult. What may be possible is to strip the Li cells from the battery and leaver the "empty" battery in place. You may want to ask in an electronic forum about that option what they say.

source: Stack Exchange

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

sort: votes


text:
Recover data from a bricked phone (not yet reset)
I get this screen from an old android device:

It has not yet went through a full factory reset so the data is still there. The data (photos) is in internal storage (no sdcard).
Any ideas how to recover data from this?

maybe if you mention phone model

@alecxs Actually a tablet, Samsung SM-T211

enter recovery mode and install philz_touch_6.44.9-lt023g.zip via "apply update from external storage" or flash philz_touch_6.44.9-lt023g.tar.md5 from Odin. enter recovery mode again, it looks like this

in PhilZ touch recovery "Mounts and Storage" mount /data and /sdcard1. "Install Zip" from sdcard aromafm-1.91.zip for file manager. copy your pictures to MicroSD Card. you can also copy files to PC with adb pull or do a raw dump of ext4 partition 'adb pull /dev/block/platform/sdhci-pxav3.2/by-name/USER data.img'

in case you are facing trouble another custom recovery TWRP v2.7.1.0 is also available for SM-T211. be aware to untick all checkboxes in Odin

@alecxs Thanks for this. One of my main issue even before I posted here is I couldn't even get to recovery mode. I have been trying the Volume Up + Home + Power button routine several times and even Volume Down but the screen only gets rebooted to that "Firmware upgrade encountered..." screen over and over. Any other ways to go to recovery?

try download mode with JIG dongle

@alecxs I'll try to get one of those then I'll update you, thanks!

Hey @alecxs, I managed to get a JIG dongle but unfortunately it did not work on this SM-T211. Though the JIG dongle worked a different Samsung phone when I tested it. I guess I am SOL?

watch youtube disassembly video how to open, disconnect battery, connect JIG dongle, hold Volume Down + Home and connect battery. Repeat with usb-cable if still no luck

@alecxs Next level stuff right there. It may take a while before if I try that but I'll let you know if I am successful. Thanks again.

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


text:
Unable to mount fastboot boot twrp.img backup unable to mount storage?
I was trying to load  fastboot boot twrp.img and  take backup of stock rom system.img userdata.img through twrp recovery...
it loaded successfully but  while taking backup its  not able to take backup its  giving error that it "cant mount storage" its  not  able to select  sdcard microsdcard  and internal memory to showing 0 free space
is there any  way to  mount  and show  the internal memory or external sd card in twrp recovery image  any suggestions
My mobile device have

OS Android 6.0.1 Marshellow Processor Qualcomm Family cortex a53
Machine arrch 64 Architecture arm cortex a53 External memory card 64GB
ROM 16 GB MOBILE NOT ROOTED

thank for your suggestion time and advice

@alecx bro thank for replying comments  is there any way younsughest to solve this encryption by yourself how to write to keep maintenance ...Can we infuse some mounting script in twrprecovery.img by yourself I found ways but not worked anyone can solve encryption problem links for ways.   https://forum.xda-developers.com/t/how-to-fix-unable-to-mount-data-internal-storage-0mb-in-twrp-permanently.3830897/.             https://appuals.com/how-to-fix-twrp-unable-to-mount-storage-internal-storage-0mb/

@alecx bro thank a lot here is the link    https://dl.twrp.me/mobee01a/twrp-3.5.2_9-0-mobee01a.img.html

according to last commit encryption is already fixed. please share /tmp/recovery.log via pastebin.com

@alecxs bro if commit encryption is already there in this step image then why mount error is coming is it for encryption or any problem how to solve problem

@alecxs bro
The below links funded in Google shows that this error is due to encryption of mobile device files tried following option to decrypt but not worked either problem with two recovery image
https://forum.xda-developers.com/t/...rnal-storage-0mb-in-twrp-permanently.3830897/
https://appuals.com/how-to-fix-twrp-unable-to-mount-storage-internal-storage-0mb/

please share /tmp/recovery.log via pastebin.com. without recovery.log i can not help


text:
Any way to access Google Drive Backup?
I recently lost my phone and bought a new one. unfortunately I've bought one of those new Huawei phones that come without GMS. Now i still want to restore my google drive backup of my lost phone. I tried resetting an old phone with Android 3.X on it but it didn't give me any recovery options. Is there any way to either extract the google drive Backup or to recover the Data using an Android VM?

one workaroud would be visiting drive.google.com from any browser on the huwaei phone
Or You can install F1 VM which comes with Google services framework.
BUt note that the restored backup would only run on the emulated Android - so you gotta keep this app forever .
https://f1vm.com/


text:
How factory reset process looks in details?
So I tried to find answer for this question, but it is very hard to find something other than simple instruction of doing factory reset and backuping data.
I'm interested of detailed process of the factory reset.
When I force system to do this, what is going under the shell.
It is some image on hidden partition from bootloader boots "clear" system? Or maybe it's just deleting user configuration files, and every corrupted system file states same as before reset. Or maybe there is the way of checking hash of critical files and repair them from some kind of recovery image?

[Tag wiki of factory-reset] (https://android.stackexchange.com/tags/factory-reset/info) and the questions there are a good starting point //IMHO, your question is amply answered

are you mixing up ROM flashing with factory reset? it does nothing more than erase userdata

On Android there is a read-only system partition and a user data partition. Factory reset deletes the user data, the system partition is not touched at all.


text:
PIN locked Pixel with broken screen and USB debugging OFF, OTG keyboard doesn't unlock it
I got a Google Pixel 1 with a smashed dead black screen locked by a known PIN that I would like to recover some photos from. Nothing vital but now it has become a personal crusade to do it!
The good news are:

it shows as MTP device on win/linux
vibrates if I try to unlock it via fingerprint (as it requires PIN, so no can do)
if I connect a keyboard/mouse via OTG they do light up
in recovery mode it shows in ADB and I'm even able to put it into sideload mode

The bad news:

can't see sh1t (BTW Pixel 1 doesn't support USB-C -> HDMI)
USB debugging is OFF
if I enter my PIN via OTG+keyboard then plug it back to the PC, it stills shows as MTP and no files can be browsed (I would assumes it remains locked)

I'm pretty close to burn another 20 bucks and get a second spare screen but before I do that, any ideas?
From what I read, my greatest achievement so far which was to get it in sideload blindly is useless and every 3rd party tool seems to require USB debugging ON.
Thanks!

I assume bootloader is locked too. Given that you've already tried OTG solutions in vain and that USB debugging is already off, there is nothing else left to try. Get the screen replaced. Although there is a risk that the technician might just factory reset the device after replacing the screen (to get the screen unlocked), so that he/she can test that the new screen is reacting fine to the touches. // BTW, these photos that you are after, were they not automatically back up by Google Photos (assuming you had setup auto-backup and that you use Google Photos/accounts)?

As long as you can get into your phone (and the microphone/speaker works), accessibility options is another path. Have you tried to enable Google Talkback and navigate your way to either copy the files off or enable Android developer mode. Tried a USB keyboard on my Pixel 2, but my 7-1 hub doesn't passthru data for ADB/MTP. For navigation, bluetooth keyboard may be better.

@Firelord yes mate, bootloader is locked. I know how to replace the screen, I think I was just unlucky in the Aliexpress lottery with the spare I got before. Regarding why auto-backup was OFF... yeah, I'm gonna think about an answer that doesn't make me look that stupid and come back to you.

@MorrisonChang if I got you right, your are suggesting using voice commands which are not enable on my phone and the only way to do it is past entering my PIN which is where I'm stuck! Given you got a Pixel 2 let me ask you, once your keyboard is connect, how do you unlock the screen? I mean keystroke commands. I've seen some videos where people press SPACE to bring the PIN input screen, others press ESC. Thanks.

For me I plug in USB keyboard, space bar twice (first to wake, second to get PIN keypad), type in PIN, press enter. On a Pixel 2, squeezing the sides launches "Ok/Hey Google". From there one can enable Talkback per my link. Just realized that I was depending on "squeeze frame to launch Google Assistant" feature which Pixel 1 doesn't have (and I left enabled). Without talkback it is rather hard to navigate via keyboard only (some areas like the notification shade seem impossible). If you had a music player running, you might be able to use media keys to verify interactivity. Not sure if useful.

@MorrisonChang yeah that didn't work with mine. Thanks for the help anyway. A new screen seems like the only way!


text:
Unbricking Lenovo Tab M10 (X606F)
For the purpose of flashing custom ROM I flashed Lenovo Tab M10 FHD Plus (X606F) with Android 9 ROM. I used SP Flash Tool. Now the tablet won't power on. Pressing buttons does nothing. Can't invoke fastboot nor recovery mode.
Red LED indicating charging is the only thing the tablet is giving me now.
I've tried to restore the device using official Lenovo's Rescue Tool.
Process of restoring gets stuck on 40% and won't go on.
Hard reset (pressing and holding volume buttons + power button for few secs) isn't doing anything.
What else I can try ?
I've followed the steps outlined and I got
to the point where Windows doesn't recognize the tablet:

Okay what I'm gonna write require a lot of patience and common sense to achieve.
Plus You do this at your own risk
You require a windows machine to do all this
Assuming this is your device, download bypass tool on your computer first.
Now install Python 3 on it ( 3.9 or anything recent recommended)
( dont forget to add python to PATH while installing )
then pip install this module via CMD
pip install pyusb pyserial json5
Launch bypass tool named mtk_bypass_rev3.exe (turn off real time protection if it's getting detected as Virus)
Hold both volume buttons and connect your device to pc with a usb cable
proceed forward if output looks like this
Now follow this guide

Thank you for the steps. I've added edit to my question.


text:
Endless updates on every boot
I have a treadmill (manufacturer gone out of business so no support there) that runs on Ubuntu 14 (2016) Android version 4.4.4. Every time I power on it goes through the "Android is updating" process
I can run update packages through the file manager that I have previously saved to a thumb drive. I can't run app updates through Google Play. (I suspect a minimalized browser setup). It is connected through WiFi to the internet. I have tried setting up an SSH connection to control it from my PC but no success there (probably my ignorance). There are no other connection points (ethernet, RS232, etc.) that I'm aware of besides the USB input. I need the "treadmill" software to not be damaged as I do not have a system image backup.
Ok on to the questions. The way I see it is that:

I need to make a system image backup before doing anything
I need to be able to get remote access working so that I can identify exactly what is going wrong and then fix it
I need to probably update to a newer version of Android/Ubuntu without losing the treadmill functionality (or find an alternative treadmill control program)
Or I have to live with the constant updates :-)

Suggestions, please.

Hi, could you clarify on "Ubuntu 14 (2016) Android version 4.4.4"? Considering that Android is not Ubuntu/Linux, did you mean it is running dual-boot? Or is the Android inside Ubuntu? Or otherwise, could you mention the model of the treadmill, in case we need to research more about this?

It's Android (4.4.4) running a minimalistic Ubuntu kernel.
The limited information provided is Kernel version 3.0.36+ root@es-ubuntu14 #73 Jan 13 2016.
See https://www.amazon.com.au/Sport-Pro-Treadmill-FEEL-FIT/dp/B07Y5HGQPP (read my review too -great mechanically, appaling software)

The combination of Android using an Ubuntu kernel is quite unusual. If I were you I would not take the risk of bricking the device. If the manual contains information about factory reset I would consider this as the maximum I would try. If you feel lucky you could try to get root (based on the kernel version the dirty cow exploit should work) just to learn how everything internally works but would not modify anything. The whole device too unusual to make any assumptions what can can be done without effects on the treadmill software.

I rephrased the problem and posted it here https://unix.stackexchange.com/questions/659568/setup-ssh-to-android-device/659610#659610 to try and get SSH to work so that I could understand what was happening.
Spent way too long getting the problem sort of fixed. The problem is the minimalistic kernel and lack of pre-loaded apps especially the lack of support for Google apps. I deleted all apps that were flagged as "downloaded". This fixed the "Android is updating" boot message. I also stopped WiFi as I suspect it was sending usage statistics to a non-existing website. I turned off Bluetooth and location support. Finally, I went through all the developer options and turned force GPU, etc one at a time (reboot & next...). I added Google keyboard input but whilst it fixed the Chinese characters I got the boot updating message again.
The software is now usable for the main functionality with much less lag. Long term I probably have to control the treadmill through a new standard tablet. With the tweaks I can now watch videos while running (off the USB not live) should I choose.
Thanks, Robert for the advice. Yep I was worried about bricking the device.


text:
manipulating character strings communicated over Bluetooth
I successfully installed a Bluetooth Keyboard Emulator for an Android device – it has keyboard and mouse control that works nicely.
I wonder if there is a way to “break” the app to get access to the character strings that are communicated from the Android device to the notebook, via the Bluetooth link, to support manipulation or feeding “synthetic” character strings to the notebook.

That depends how the app is implements. Unfortunately you don't name the app (inclusive [Play Store] link) so everything we say can be true or false.

The link to the product: https://play.google.com/store/apps/details?id=io.appground.blek&hl=en_US&gl=US

Have you checked the forum the app details mentions if you post your feature wish there? Changing an app e.g. via apktool requires detailed knowledge about Android and it's Java API as well as Smali language as decompilation to Java is usually not an option if you want to modify something.


text:
Automated reboot without root
I'm responsible for an automation lab with many Android phones connected to Linux servers via adb for testing. We have an issue where devices will sometimes disappear from adb which means that someone has to manually find the phone and reboot it before it will come back. I'm interested in finding solutions to reduce this need for manual intervention.
One idea I had was that we could periodically send a ping to the device from the host and if the device did not receive a ping in a specific period it would assume it was disconnected and reboot itself. The issue is that we cannot root these phones so I'm not sure if that is possible.
I do however, have the ability to write and install my own apps on the devices and I don't need to worry about any playstore rules.  Is there anyway I can achieve this without rooting the device?

For rebooting the device the process calling it requires root permissions. The only way to reboot a device without using the UI is via adb. Therefore as long as the devices are not rooted this will, not work.

scheduled reboot is possible with automate apps like automate, macrodroid, tasker. if that devices have wifi or sim card you could even use message received as trigger for /system/bin/reboot

https://www.xda-developers.com/tasker-5-9-2-beta-run-adb-shell-commands-without-tethered-pc


text:
Looking for a tool that can execute Dynamic Partitions operations
For managing dynamic partitions, there are a number of operations such as resize, remove, add_group ...
When flashing a Rom, these commands are listed in dynamic_partitions_op_list file (with Rom file) and are being executed with updater-script file of Rom;
An example of content of dynamic_partitions_op_list file:
# Add group qti_dynamic_partitions with maximum size 7588834592
add_group qti_dynamic_partitions 7588834592
# Add partition system to group qti_dynamic_partitions
add system qti_dynamic_partitions
# Grow partition system from 0 to 2344250624
resize system 2344250624

The execution of dynamic_partitions_op_list operations in updater-script file:
assert(update_dynamic_partitions(package_extract_file("dynamic_partitions_op_list")));

Right now for managing dynamic partitions (for example resizing one), I put my custom dynamic_partitions_op_list file into a flashable zip (with updater-script file);
Is there any way/tool that can execute those operations without the need for creation of a custom dynamic_partitions_op_list file and flashable updater-script file? (I mean something that could be executed via adb or fastboot)

what is wrong with unofficial tools like super_image_dumper?

using that tool, one first have to take a full dump of super partition and later on modify it. What I'm looking for is some type of command line tool that could for example resize a partition within super (e.g: adb shell tool resize system 2500MB)

understand but what is the benefit? resize system usually is not a daily task


text:
Executing Edify script via adb shell
Edify script is a very limited language that is being used in flashable zips (mostly updater-script files);
Within Edify script we can execute shell commands (run_program()) but what about the vice versa? Is there anyway/tool to execute Edify script via adb shell?

updater-script alone is useless. All the Edify functions which are called in scripts are defined in a binary file named update-binary, just like shell functions are defined in a shell interpreter binary like bash, zsh, ksh etc. Both files updater-script and update-binary are packaged in ZIP file (inside META-INF/com/google/android/). update-binary is executed with 3 arguments. Second one is the FD you need to create where to print the output. Third one is the path to the ZIP file which is extracted and commands in updater-script are executed in sequence.

You need to simulate this behavior exactly, in order to run Edify script from a shell. Normally this doesn't worth the hassle. Just translate the Edify script to a shell script and run directly.

@IrfanLatif Thanks for the info.

@IrfanLatif but some functions are not implemented in the shell; for example functions for managing Dynamic Partitions operations (such as resize, remove, add_group ...)

you can install flashable zip from TWRP command line https://twrp.me/faq/openrecoveryscript.html

@alecxs yes, but that's the hard way (I have to write updater-script and put it into a flashable zip); I'm looking for a more straightforward way; like direct execution of commands in adb shell;


text:
Screen showing vertical coloured lines and is not responding to touch
I have an Infinix Zero 5, and its screen has stopped working. It is just displaying multi-coloured vertical lines and is not responding to any touch. The power and volume buttons of the phone are still functional, the fingerprint scanner still works (as the display turns on when it is scanned) and the display even dims when the phone reaches the display timeout.
The phone hasn't been dropped or anything, and the screen initially appeared after taking it out of my pocket. When I restarted the phone the first time (by holding down the power button), it started working again, but now even when restarting the phone, the display still shows these lines. I know the phone is still in working order as off and on the phone vibrates for notifications.
Is this a display issue for which I have to replace the screen or is there some other problem with the phone?

first of all, force reboot your device by holding
while it reboots, if the infinix logo appears without those lines, then thats a software issue and if you see lines there too, then time to get a new display


text:
Why does temperature disappear from At A Glance and the lock screen?
It disappeared out of the blue a few weeks ago. I searched the web and did a trick to make it reappear. It was shown for weeks and then suddenly disappeared again a few days ago.
What causes this, a bug?

While reporting bugs like this, mentioning your Device Model and Android build would be beneficial for the community to help answer the question properly
I've also faced this.
This is a known issue in Google App's Beta versions.
Temporary solution : add one more At a Glance Widget and if you see weather on existing widget , remove the newly added widget.
Permanent workaround:

Remove the At a Glance widget .
Unroll from beta and wait a few minutes patiently.
Clear data and cache of Google app and add the widget back .

( Incase the widget is not removable for your device, just try step 2 and 3 )

I'm not using a beta version of Android.

@DamnVegetables im speaking about the beta version of Google App... Go to playstore and verify whether you're running Google App (beta)


text:
Can the Phone Repair Service access my 2FA, Google Account passwords, SMS, Photos, etc
I recently took my phone to a mobile repair service (unofficial, 3rd party). The phone had fallen into water and had severe water damage - it was non-functional, I was not able to turn it back on and so far the service has not been able to get it to turn on.
I have a mild suspicion they might be doing something shady. So I started thinking - what sensitive data could they possibly be able to access?
The phone model is OnePlus. It's locked with fingerprint, and pattern, which I did NOT give to them. Also, the phone did NOT have full disk encryption, unless there's some kind of default one.
Edit: Phone model comes with Android 6 out of the box, but 90% sure it was upgraded to Android 9.
Also, SIM card was removed, I did NOT give it to them.
I'm mostly concerned about:

2FA - AFAIK these are encrypted and impossible to access without unlocking the phone.
Google Account passwords (the ones that are auto-saved by Chrome) - I'd assume these are also encrypted, hopefully, someone can confirm that.
Photos - since disk encryption was NOT enabled, I'd assume these are freely accessible if you take out the data drive and put it into some special device that's able to read the data?
SMS ???
app data - notes (Evernote), FB messenger, WhatsApp, Telegram ???
cache/temp data ???
anything else ???

Any info/input would be greatly appreciated!

As long as you don't use an eSIM you can always remove the SIM card before giving your phone to an repair service (no SIM means no SMS reception). Android devices that come with Google services pre-installed have to be encrypted by default since about Android 8.

Forgot to mention - SIM was also removed, I did NOT give it to them. It was an older device, it had Android 6 out of the box, but it was updated to Android 9. Does that mean I had full disk encryption enabled by default?

Then I don't know. Some devices came pre-encyrpted starting with Android 6 but it was not enforced by Google at that time (Google thought about this but later postponed it to a later Android version). For the encryption enforcement the initial Android version is relevant, not the updated.

My only real question here is the bootloader unlocked? If it is, then they can access everything on your device... If it is not and they do not have the security credentials, it is possible without encryption, but extremely unlikely as it would require physical connection the eMMC chip which most repair shops do not have access to. If the bootloader is unlocked, it cannot be done without wiping the devices, so you should be good.

The bootloader is NOT unlocked. Thanks!


text:
TWRP crashes on Redmi Note 8 Pro after custom rom
I tried to root my phone and succeeded without any errors, then I wanted to try installing a Custom ROM(lineageOS), I did it via TWRP(I forgot to reinstall TWRP before rebooting) then I tried to boot again to TWRP(as expected it was gone) then I reinstalled TWRP via fastboot(fastboot flash recovery filename.img), the command exited without any errors but when I tried to boot to recovery nothing shows up:
• Black Screen
• After a few seconds reboots back to lineage
I downloaded the latest TWRP image from the official Website and tried to install that, same command, install success and able to boot to TWRP
BUT after a few seconds in TWRP mode(idle or not) it closes and reboots back to lineage
What I tried:
• Installing older TWRP version
• adb erase recovery and reinstall
Notes:
• Lineage OS works as expected
EDIT
I haven't mentioned it but what i need the most is a way to install zip files from fastboot, i can extract the zip but some OSes have system.new.dat.something and i cannot find a way to install that, if you could at least help mart with this i'd be greatful.

https://forum.xda-developers.com/t/unofficial-rom-cwf-begonia-twrp-deployment-lineageos-from-theimpulson.4270573

it is because the lineage os you're running came shipped with lineage os recovery and now the partition is someway corrupted while you tried to install twrp.
try booting to lineage turning adb on and from your computer using platform tools, execute adb shell reboot recovery

I am aware of lineage os's recovery but that's not the case, i tried to adb erase recovery and reinstall but didn't work

you disabled verified boot too before trying to install twrp ?

get vbmeta.img and fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img  then flash twrp

fastboot --disable-verity --disable-verification flash vmbeta vbmeta.img throws an error, disable verity is not recognised as an option, nor disable verification.

You are using wrong fastboot. Download latest platform-tools from google https://www.xda-developers.com/google-releases-separate-adb-and-fastboot-binary-downloads

@Vbrawl yeah get  latest platform tools

That killed me, now the phone won't enter fastboot at all

ok got it unbricked but still the recovery doesn'f work


text:
Inexplicable possible automated event
I'd like to understand the cause of this:

I put the smartphone on airplane mode

After some hours I turn off the airplane mode, and activate internet connection

Suddenly, after having lowered the notification panel, automatically it opens the PlayStore with a string in the search field, something like toroepan°tyf (I don't remember it exactly), and the advice that any matching item hasn't been found

After this I notice that in recent apps there's Yahoo mail (I didn't opened it before)

I touch Yahoo from recent apos, and inexplicably it appears that I have choiced to open an attachment (it seems as a gif), so I go back with the upper arrow, and

It is showed a mix of a chat conversation and of a forum message I wrote about one month ago on Chrome

Moreover these pieces of written things alternate with gifs (please look at the second screenshot below representing the internal content), other images, and even a private video of the Android gallery

And it is a mail I would be ready to send to chrome-distiller://(many alphanumeric characters) (please see the 1st screenshot below)

I googled and summarily I've understood what distiller refers to and means.
The question is how it has been possible the existence of that mixture of pieces of web pages (chat, message on Chrome), even gifs and images I've never used and a shred of chat I wrote on Lichess app (which, I suppose, uses Chrome for the chat feature) in the form of a Yahoo draft.
Is it known a similar effect? Has someone else experienced something analogue? Maybe is it an Android or Chrome bug? Perhaps something malicious acting in the background?
I really can't figure out the cause of it.


text:
Android x86 change Keyboard layout
How can I change the keyboard layout used by Android from the command line?
I installed the Android-x86 release from https://www.android-x86.org/ in a VirtualBox VM. Unfortunately, the VM only boots to command line and I cannot access the GUI. I want to follow the following solution to directly boot into the GUI: https://stackoverflow.com/a/61247128/12336925
I cannot type the commands as I want and I cannot use vi appropriately because I have a German keyboard.


text:
Recover deleted (by Windows) Android photos
I've accidentally deleted an Android folder containing some photos using my Windows laptop. I've already tried a bunch of recovery apps but none of them show the deleted photos (they do show photos deleted using the phone).
Is there any way to recover those photos?
My phone has Android 11 (Oneplus 7t), it's not rooted (bootloader is) and I was using MTP.

That device runs FBE+metadata encryption, impossible to recover deleted files. You can however scan for trash files and thumbnails with app com.i8dudata.imgrecover.free

@alecxs Is this the correct app you are recommending: https://play.google.com/store/apps/details?id=com.i8dudata.imgrecover.free

@RockPaperLz-MaskitorCasket yes it can not restore deleted files, but it can find thumbnails of deleted pictures in hidden directories

Well, it didn't find those thumbnails, only older photos. So I guess it's not recoverable


text:
How do I get rid of broken, invisible files that take up lots of space?
I tried downloading a pretty big mp4 file, but that failed because i didn't have enough space.
However, it filled up all my leftover storage. I tried getting rid of it but it doesn't show up in the file explorer. I checked hidden files.
Checking device care -> storage, it seems like it's in the "other" category.
I'm kinda desperate because i need the storage space to work. How do i clear it up?
Samsung galaxy Tab S4, Amdroid 10

You can copy all the necessary files from your internal storage to somewhere else and do a factory reset. Then copy the files back. Should work.

In my opinion this is not a good idea as it will delete all app data stored in the app-private section. Therefore performing a factory reset should be the very last option.

I agree with robert, it's not a good idea if avoidable. However, i'm glad to have the option if i genuinely can't fix the problem in any other way


text:
Hotspot limit for number of connections?
I play Pokemon Go and have some phones that need to connect to a phone for its Hotspot for Internet.
I found that iPhone / iOS can serve as a hotspot, but has a limit of up to 5 connections for Hotspot.  Is there a limit for Android phones acting as a hotspot?  I have a Samsung A32, OnePlus Nord, and some Xiaomi phones such as 11i and 11 Lite 5G.

The same question has been asked 6 years ago: https://android.stackexchange.com/questions/96458/how-many-clients-can-be-connected-to-a-wifi-hotspot There may be devices that allow more than 10 devices, but that seem to be manufacturer specific. Therefore in the end you will have to try it out yourself.


text:
twrp recovery installed but it boots to android instead
i wanted to add custom rom to my galaxy j7 max and hence tried installing twrp(3.1.1& 3.2 or what ever) in Odin the task passed but then when i try to boot to it by pressing vol up+ power + home , instead of opening twrp it boot normally to the android and cannot get twrp .. so plz help

Does this answer your question? adb device doesn't listed on cmd {Lenovo K8 Plus}

Read this: https://forum.xda-developers.com/t/recovery-root-twrp-3-1-1-1-samsung-galaxy-j7-max-2017-sm-g615f.3710048/


text:
Is there a way to transfer SMS mesages from a Samsung Galaxy S5) to an Ubuntu PC, in a form in which I can view the SMS messages on my PC?
I want to transfer the SMS messages on my Samsung Galaxy S5 smartphone to my PC (with Linux Ubuntu 20.04.2 LTS), in a form in which I can open and view the messages on my PC as I do on my smartphone.
I know about the apps which can back up smartphone data, such as Kies and Smart Switch for Samsung phones and ADB and Android File Transfer for Android devices. But as far as I can tell, these only back the SMS data up rather than save them as files which can be opened on PC desktop.

Many SMS backup apps backup to xml or csv file. Both are plain text formats.


text:
Any apps or ways to categories group apps folders in menu view
Question :- Any apps or ways to categories group apps folders in menu view
Is there any apps or  setting to categories group move apps installed icons in folders inside menu view.  as there is jumble of apps to search in alphabetical order which cant be moved or.clubed inside menu view of. Android 6.0 unrooted mobile phone.
I had searched Google and.finded smart launcher go launcher x or drawer to. Circle launchers but all just change wallpapers or screens or  create widgets folder organizer manager but no one manages the menu view
Yes I know we can create folder in home (mobile desktop views) but rereating folders shortcut making home screens desktop jumbled will slow down booting of  Android starting and many time it don't display icon image on reboot of mobiles.
Can we create self menu (as start menu in Windows properly organised) through app and hide the original menu and replace our own menu. I have seen a circle.menu recreated by some apps.
Any stable good idea or  app to create organize categorise apps icons shortcuts in a menu view as it's not customisable in Android 6.

Sorry but I understand may be 20% of your question because of the language you use (what ever it is).

@Robert bro sorry it was due to auto correct I tried best to elaborate correct and make it understand you cAn suggest edits to


text:
How do I keep speech-to-text active in Gboard even during silences?
I often use Gboard's speech-to-text to do voice typing. However, every time I pause speaking for a few seconds, I have to reactivate this feature by clicking the microphone on the keyboard.
How do I keep it active for longer?

With Android 12 with a Google Pixel 6, one has to double tap on the microphone button:

I've been pressing and holding the voice button on gboard and letting go when I'm done speaking. It works flawlessly for me this way. Pixel 7.
I think it even goes into offline mode when you do this, so no lag.


text:
Creating a virtual camera that shows an app (override web whatsapp QR code)
I'm trying to override the problem of connecting to web whatsapp on a phone without a camera in order to scan the QR code.
It's probably not important but the computer runs linux.
My idea: creating a virtual device that the phone (samsung galaxy s21) will see as a camera, and in this camera there will be:
Option 1: the remote controlled desktop of the linux computer (by vnc or similar).
Option 2: the android phone will be connected by USB to the computer and it will see the desktop as a "camera".
Any other idea can be good, but it must be a synchronized whatsapp and not on an android emulator.
Thanks!

Did you find the solution to this? I am stuck in the same situation.

Unfortunately no...


text:
How to monitor log app wise usage report RAM CPU Battery and stop RAM resident apps from starting at boot
How to monitor log app wise usage report RAM CPU Battery and stop RAM resident apps from starting at boot
Many time my Android 5.0 & 6.0 mobile become slow while working i checked it In process stat in developer mode that there are many of apps running and using RAM even after closing the app it means they are memory resident may be for notification and running in background.
We can force stop from app or kill process but it's for time being now my queries

Any App to.Record whole day log report for all apps how much total RAM CPU battery it's using while working on app and after closing the app means RAM using statistics app wise for whole day weak or.month

How to kill running apps proccess forcefully stop for temp running and freeing the ram urgently.

How to permanently stop (not uninstalling app) the apps or background services from.startup or disable from memory resident as and whenever we boot or start those apps run in background. Is there any way in Android to stop from.running in startup or resident memory RAM after closing app.

If your old Android phone is getting slow and slower is because the apps grow larger and larger as they are designed for recent Android phones that have 4 to 10 times more RAM of old devices. On newer Android devices you can restrict background activities of apps a bit but on Android 5/6 as far as I remember only some custom ROMs had this feature.

@Robert is there any 3rd party apps which can do it .. ifor monitoring battery I seen Greenwich or accurate battery and for ram  I am.using ram monitor or resource monitor.... I had downloaded a task manager which can kill process buts it's  not working much fine


text:
How to stop the screen from dimming when on call using speaker?
When I'm on call hold I usually turn the speaker on while they play their plinky plunky music.
The screen dims after 10 seconds. I have to tap to wake up the screen. Which is annoying.
How do I stop this annoying feature?

Increase the screen timeout from settings to whatever limit is available and that you want

I've tried all that. Screen timeout is max - 10 minutes. Adaptive brightness is off. Screen saver is None. Doesn't work.


text:
Whenever I press home on my Gionee s10b or reboot the phone I am stuck with this
Whenever I reboot or press home on my Gionee, I am stuck on this page, and it doesn't load at all

I uninstalled the Google Play Services updates and all was well.
I updated it back though. All was still well


text:
Whatsapp: "The download was unable to complete. Please try again later" for received voice messages and stickers
Received voice notes or stickers don't download since a few days ago. The message shows a down-arrow icon, I click it and the circle around the icon spins for a few seconds and then shows this error:

Any ideas on what else to try for this error or how to debug it? This is what I have tried, to no avail:

Internet connection is fine, other phones with Whatsapp using that connection work and every other app in this phone works fine. Tried WiFi and mobile data connection
Phone date and time is correct
Enough disk space
Cleared Whatsapp cache and also wiped Android cache partition in recovery
Whatsapp updated to last version
Backup messages, uninstall Whatsapp, install Whatsapp, restore messages
Tried with auto or manual download in Whatsapp options

As a workaround, it works using Whatsapp Web


text:
Someone factory reset my android phone. How do I know more?
I am looking for my smartphone. I found it on my pants. It is factory resetted. Last time I check I was doing fine using the phone to call gojek (like uber in Indonesia)
And then I got message after I restart the computer that my phone is factory resetted without authorization.
I have no idea. How can my phone got factory resetted without authorization? Is this because while the phone is in the pocket somehow it register 15+ false finger prints or what? I did set things up that way.
In any case, I wanted to know more. Is there a log or something that I can check to see what's happening.
I lost quite a lot of data, but most I can recover.

Someone pressed physical button power + volume up and then selected factory reset with volume up/down + power. This can also happen accidentially if the buttons are wet/short-circuited or pressed by coincidence respectively. There is /cache/recovery/last_log which may give some hint

how do I see cache/recovery/last_log

"show log" in recovery menu

where is this recovery menu?

exact key combo depends on device model https://www.hardreset.info/devices/samsung/samsung-galaxy-note-9/recovery-mode


text:
Spellchecker not working with dual language with SwiftKey on a OnePlus Nord 2
I've just got a Nord 2.
I've installed MS Swiftkey and setup both English and Italian.
While the input itself works with both languages, all Italian works are underlined in red.
This doesn't happen with GBoard.
Also this doesn't happen in another phone of mine, same configuration.
Does anyone has any idea?

It doesn't happen with Gboard or the default keyboard because they're
integrated with the Android system, and they have the access to the
settings like "personal dictionary" in Android system; meanwhile
SwiftKey is a 3rd party app, it does not have the system level access.
That's why it cannot identify the languages other than system default
language. In other words, Google Spell Checker works with Gboard but
not SwiftKey.
The solution is to disable spell checker.

Another potential solution could be adding Italian Language in settings. Go to:
Settings --> More/Additional Settings --> Language & Region

Here add Italian along with English.
Source
Hope this helps!

You mentioned on another phone - it works ( aka Swiftkey Italian isnt underlined by spellchecker ) Also try putting swiftkey as default keyboard and there's a language selection ,where you put in Italian as your 1st language and Eng as second ( do that my removing all languages and then add Italian 1st then Eng )


text:
Android wifi tethering (hotspot) DNS server (dnsmasq) returns 127.0.0.1 for some domains
My laptop connects to the internet through Android wifi tethering (hotspot).
Some websites cannot be connected because my Android DNS server returns 127.0.0.1.
I can browse the sites on my Android phone, but not through the hotspot due to this strange DNS behavior.
For example, I can't connect to tools.ietf.org to read RFC documentations. The DNS server just returns 127.0.0.1.
Info about my Android device:
Redmi note 5 global/pro (whyred), running MIUI 11, Android 9.
The DNS server is dnsmasq, according to this question, and I've checked it by netstat.
It is listening on 127.0.0.1:53 & 192.168.43.1:53.
sudo getprop | grep dns:
[init.svc.mdnsd]: [running]
[net.dns1]: [172.24.x.x]  # this DNS server returns correct IP
[net.dns2]: [10.x.x.x]    # this returns 127.0.0.1 for some sites
[net.dns3]: [xxxx:xxxx:xxxx::xxxx]
[net.dns4]: [8.8.8.8]     # the always working 8.8.8.8
[ro.boottime.mdnsd]: [147300891920]

dnsmasq command found by ps auxf:
/system/bin/dnsmasq
  --keep-in-foreground     # Do NOT fork into the background, do NOT run in debug mode.
  --no-resolv              # Do NOT read resolv.conf.
  --dhcp-ignore-names      # Ignore hostnames provided by DHCP clients.
  --no-poll                # Do NOT poll /etc/resolv.conf file, reload only on SIGHUP.
  --dhcp-authoritative     # Assume we are the only DHCP server on the local network.
  --dhcp-option-force=43,ANDROID_METERED  # DHCP option sent even if the client does not request it.
  --pid-file               # Specify path of PID file (defaults to /var/run/dnsmasq.pid). Empty here.
  --listen-mark 0xf0063    # Socket mark to use for listen sockets.
  --user dns_tether        # Change to this user after startup. (defaults to nobody).
  --dhcp-range=192.168.42.2,192.168.42.254,1h
  --dhcp-range=192.168.43.2,192.168.43.254,1h
  ...
  --dhcp-range=192.168.51.2,192.168.51.254,1h

I killed the server launched by my system, and did some experiments.
If I add --all-servers (Always perform DNS queries to all servers.), dig's response would be ANSWER: 0.
Because there's no server set. (Default conf file /etc/dnsmasq.conf not exists)
If I also add --conf-file=/sdcard/dnsmasq.conf, with file content server=8.8.8.8, I'm able to connect to tools.ietf.org.
Question is, what would dnsmasq do, when there's no config file (dnsmasq.conf)?
If there's no dns server specified, how does it query upstream DNS?
And why it works for most domains, but not all?
Guess there's something to do with [net.dns2]: [10.x.x.x]    # this returns 127.0.0.1 for some sites?
Update 1 (more info)
After I reboot my phone, the [10.x.x.x] DNS server returns ANSWER: 0.
My dnsmasq returns correct answer. I don't know why.
I read & searched more to understand Android DNS more.
Here's more info:
sudo /system/bin/dumpsys netd:
  NetworkController
    Default network: 100

    Networks:
      1 PHYSICAL rmnet_data0
        Required permission: SYSTEM
        No DNS servers defined
        No search domains defined
        Private DNS mode: OFF
        No Private DNS servers configured

      2 PHYSICAL
        ...

      51 DUMMY dummy0
        ...

      99 LOCAL wlan0
        ...

      100 PHYSICAL rmnet_data1
        Required permission: NONE
        DNS servers: # IP (total, successes, errors, timeouts, internal errors, RTT avg, last sample)
          172.24.x.x (64, 64, 0, 0, 0, 61ms, 54s)
          10.x.x.x <no data>
        No search domains defined
        DNS parameters: sample validity = 1800s, success threshold = 25%, samples (min, max) = (8, 64)
        Private DNS mode: OFF
        No Private DNS servers configured

    Interface <-> last network map:
      Ifindex: 10 NetId: 100
      Ifindex: 9 NetId: 1

    Interface addresses:
      address: xxxx::xxxx:xxxx:xxxx:xxxx/64 ifindices: [26]
      address: 192.168.43.1/24 ifindices: [26]
      address: x.x.x.x/30 ifindices: [10]
      address: xxxx::xxxx:xxxx:xxxx:xxxx/64 ifindices: [9]

  Dns Resolve Records
  total records=1000
    rec[0]: 13:58:37 3961 10032  s*.com=127.*,
    ...
    rec[999]: 19:50:04 3961 10032  s*.com=127.*,

  TrafficController
    BPF module status: OFF

So there are 2 DNS servers in rmnet_data1.
I think these are upstream servers dnsmasq would query.
Maybe it queryed the 10.x.x.x DNS server, which returned 127.0.0.1, then it cached this wrong result.
A reboot may have cleared this, or it is out of life time now.
I just found there's a --log-queries  Log DNS queries. option in dnsmasq.
So I would be able to see what exactly happens the next time I fail to connect to tools.ietf.org.
So it seems to be my upstream DNS servers' problem, with some probability of happening because there are 2 DNS servers?
So this is my ISP's problem? Not resolving some domains correctly?
Some very nice Q&A here:

DNS queries are cached permanently, how to reliably clear DNS cache on Android 7+?: explains DNS query in details
How does Android OS do DNS name resolution?: explains Android DNS resolv in details

Update 2 (guessing reason / answer)
I think this strange behavior (able to connect on phone, but not through hotspot) is because there are 2 DNS cache in Android, one in system & another in Java. (According to this answer)
Chrome & other apps are probably using Java cache. The dnsmasq native binary is using system cache. I guess this is why.
In the end, though already dug quite deeply, I still didn't find a good way to solve this.
Next time I encounter this problem, I'll still just change my laptop's DNS server to 8.8.8.8.


text:
Smartphone can't connect to Google's services unless resetting the WIFI connection
I'm using Samsung Galaxy Note 10 Plus, which has a very strange behavior that I can't explain.
Everything works fine with 3G, 4G. But if I use my home's wifi connection, sometimes I can't access google search, youtube, play store. For example, I'm using the phone and need to do a quick google search, I open Chrome and input the keyword in the address bar, then hit Go. The browser will show that it's loading the Google search, but will never finish unless I turn off the WIFI and reconnect, then hit F5 on the browser. The same issue for YouTube, Playstore.
I notice that this is the problem of my phone, because my wife's Iphone does not have the same issue, and laptops also dont.
Can anyone explain this?

In the wifi settings for your network, is auto connect enabled? //Also, next time it happens, switch off wifi, turn on aeroplane mode, wait for a few seconds and enable both. That helps on solving wifi issues though I can't recollect the logic behind this

@beeshyams where can I see the setting? It happens all the time, like 1 hour interval.

I am not familiar with Samsung settings but it should be under your network you are connected to //You can try the aeroplane mode trick

do you mean the airplane mode? As I mentioned in my post this only happens to Google's services, and I can fix it by simply turn on/off the wifi connection on my phone.


text:
Does WiFi calling also send SMS over data lines?
Our only carrier in this area gives us one bar at home due to thick brick walls. I read that Android supports WiFi calling. This has helped phone call quality immensely. Does SMS also get sent via our WiFi so they are reliably sent as well?

Yes. If you are using Google messages app configured for that https://android.stackexchange.com/q/232098/131553

From what I know this seems to be carrier specific, on some networks SMS seems to work, on some you can only send and on some it doesn't work at all.

Any reason or tell-tale signs whether SMS texts will come through via Wifi Calling? Would such activity be an item outside of (not included in) the typical mobile plan, a technological loophole?

@user610620 You send a text to your smartphone where there is very weak mobile data  but has WiFi calling turned on using a phone that has better mobile data signal on a  different network.


text:
How to show configure mount ext2 ext4 formatted SD card partitions in android file manager?
How to show configure mount ext2 ext4 formatted SD card partitions in android file manager?
As fat32 fiile system don't support files more than 4 gb I have to take backup  before after rooting for safety backup of system boot userdata  through twrp or DD if  command which saves files in sd card and the files of twrp images of userdata  mmcblk0 is more than 8GB-15GB and it requires to format sd card to ext2. As in adb shell or fastboot we can write on ext2 formatted partion is micro sd card
But ext2 ext4 file system ( I formatted partitioned with mini partition tool) is not readable in windows PC and when I inserted booted android 6.0 and open the android self file manager or xplore or.solid explorer or settings storage  without rooting it shows only reads  the first partition of fat32 but it don't shows the second partition there and.even in settings storage as it's not mounting reading the  ext2 ext4 partition and mounting it.  Firstly I have to read  the sd card and copy the images file on pc which is unreadablle unmountable in  android and windows both
I know we can do adb pull command and copy it to pc directly but I want to change file system of external sd card to ext2 or ext4 so that if I download big videos or create any big size files more than 4gb then it can save it fastly and secure in ext2 or ext4 file system
My queries :-
Q1. Can we use configure SD card second partition ext2 or ext4 formatted  for moving apps as it move default to first partition through SM or PM commands can second app be used only in link2sd can't we manualy through adb shell configure it or format  first or second partition as internal memory
Q2. So my question is how through any app or adb shell command I can mount or make sd card second partition ext2 or ext4 file system mountable readable in my android 6.0 mobile phone. Any way to edit FUSE bind in boot.init without rooting or any other way apps  to make it readable.kindly guide steps as I am novice new to android adb and programming commands
Thanks for your precious time advice opinion suggestion and sharing knowledge.

Did you try Mix explorer?

Does this answer your question? How to read ext4 filesystem without mounting on a non-rooted device?


text:
Will linked moved apps to sd card through link2sd works after unrooted mobile?
Will linked moved apps to sd card through link2sd works after unrooted mobile?
I want to move my apps to external sd card of my android 6.0 mobile it has option of formatting sd card to internal memory but still out of 100 user apps installed it automove auto save 30 apps to internal formatted external micro sd card and 70 user apps auto installs still remains internal memory which are unmovable thus filled my internal memory
I once tried link2sd with 3-4 years before my old android 5.1 mobile device after rooting it. But it got problem after rooting through kingoroot as it was open and some.malware corrupted it I recovered it back through flash stock rom but didn't tried it again. Link2sd smoothly automatically moved linked apps to second partition but I kept the mobile opened and didnt unrooted it and some root permitted apps malware or cleaner corrupted or deleted some system file that old time.

I want to know if I again root my android 6 mobile with proper stock ROM backup through magisk or su or kingoroot and use link2sd or app2sd and install move or link user apps to micro sd card second or first partition and then unroot it will the linked or moved app work after unrooting mobile as link2sd script runs scripts on every booting of android in boot.init so technically it's possible to unroot after installing moving linking apps through link2sd or app2sd will android recognise link2sd linked apps without rooting privilages permissions after moving can we unroot it again.
I want to unroot to safe mobile from accidently deleting any system root files by cleaner or anitmalware or any malware infection for security


text:
Why wi-fi calling turned off on reconnection of wi fi?
I am not getting any no cellular network at my home and I have broadband connection. When I go in cellular network area turn on mobile data and came back to home my wi fi calling works perfectly, however if I go away from wi fi network for few minutes and came back or wi fi restarts due to power failure then wi fi calling is automatically off.
I need to connect cellular network again  in order to re-enable wi fi calling.

Wifi calling isn't something which enables free calls over wifi.
Your SIM ISP operator needs to make sure you're on an active pack with voice facility available before allowing wifi calling. That's why you need to be on mobile network each time you connect to wifi calling service; and it stays toggled on on wifi calling mode before wifi drops for some reason according to the same logic.


text:
"This site can't ask for your permission" Chrome error on LG Velvet?

I get this error whenever selecting any choice for permissions prompts in Chrome Dev.  No results on Google, XDA, or here; Google has a similar but irrelevant hit for Hwaiwei devices (something to do with a trackball, which this phone does not have).  I've checked all permissions, can't for the life of me figure out how to fix this?  My device is stock, and this has been present since day one.
Specs
Model: Stock LM-G900TM14j
Android 10 (No root)
Model: Stock T-Mo LG V60 ThinQ 5G (LMV600TMLATMOCB)
Android 11 (No root)
EDIT: Strangely enough, I traded up to the V60 but am still experiencing this error.

Some YouTube videos suggest :1. From 3 dots menu on top right go to privacy and clear data (in range select all time). Also in advanced select top three items and clear data. Restart. 2. If your device has notch, go to notch settings and select "don't hide notch" 3. Enable all permissions like mic, camera, location etc from site settings

@beeshyams it's gonna be a pain to G Takeout all my data just to try that.  What specifically should allegedly be deleted?  Cookies, cache, form data, or...?  Edit: okay, just saw your full comment.

You can try to identify the source of the overlay and disable it for a moment by following Determine which app is drawing on top of other apps?

@beeshyams Just as an update, I did have the notch set to be hidden, and untoggling that option seemed to fix the problem for the particular webpage I was browsing at the time I posted this...but the error returned a short while later for a different page.  I'm unsure whether there are multiple causal factors in play but this issue is making it impossible to, say, join a video chat meeting, etc.  I do have all permissions enabled (or set to Ask me where Enable is not available as an option).

@AndrewT. Thank you for the suggestion, I will take a deeper look into this when time allows!  At a cursory glance, I noted root seems to be required only for Kitkat and earlier versions, but is the toybox utility available out-the-box/rootless?

I can't recall where, but I had seen some mention of accessibility options potentially causing this error.  I went through and disabled some and ended up getting it to work...but then after a few days, it is now appearing again.  This is maddening!

I just wanna add this for future spectators, until the problem gets fixed.
Chrome (for Android anyway) just has really crappy, limited permissions management, which is not good enough for LG. From what I can tell, there's nothing to be done about it. If you can do whatever it is you need to do in a different browser and switch back to Chrome Dev when you're done, you should.
This worked for me in Vivladi, where I was initally experiencing the same problems. Click "block" instead of "allow". Then go to site settings, click on whatever permission you need, and you'll see the site is now in the "blocked" list. Just click on it and change it to allowed, and it should work.
...whereas Chrome won't even generate a list for you or let you choose something more powerful than "ask me"...smh

Yes, I've noticed that Vivaldi was able to retain permissions preferences despite them both being built from the same engine, don't understand how or why the discrepancy occurs.  I would just switch over to Vivaldi, except it'd be a pain to keep credentials and other data synced between the two different browsers.

I used a different Android device, and it worked.

Try opening phone settings - then look for applications or app management or apps or apps and notification such options. Then try to navigate to list of applications. Look for chrome application. Then click on App permission & make sure the needed permission is given. In settings menu - additional settings look for quick ball. In quick ball settings select hide automaticaly for all apps. Then open chrome browser and try to give permission

I've already granted all permissions that are visible from the frontend/user spaces.  This phone does not have the MIUI Quick Ball feature ASAIK, nor do I have any such other applications/features enabled.

You can fix the issue by following the steps below

Click on the Google Chrome icon and choose the info option. Alternatively, you can go to the settings --> installed apps/apps --> Google chrome.

Click on Storage --> Manage storage --> Clear all data.

Go back to the info page and select the Permissions option.

Allow all the permission that you require for the site (at least camera and microphone).

Now, try opening the app.

If you are still facing the issue then you might have opened any screen recording apps or any other apps like small bubbles in the background. So you have to close them to clear this error.

You can refer to the following video for a quick fix.
https://www.youtube.com/watch?v=xsNZnTFu0r8


text:
Access files from SD card (Android 8.1) from computer
I am using an additional SD card on my Android 8.1 phone. It is not formatted as internal memory, and I would like to keep it this way in case my phone fails.
The problem I now face is that I can't access photos in DCIM/Camera on this SD card through my computer. I tried connecting through mtp, and also by running a server (sshelper) on my phone. Unfortunately, the files remain invisible.
I have read that this is "by design", but it seems ridiculous to not be able to copy files from a storage area to my computer. Is there a reasonably simple way to achieve this?

by design one must unlock screen first


text:
Is it possible to manage Wireguard from the pull-down menu?
I connect to my Wireguard endpoint with the official wireguard app. Everything works fine but in order to stop the VPN connection, I must find and restart the app.
Since the VPN activity is visible in the taskbar

... I was hoping for a way to quickly manage it from there.
Is this possible?

App description of Wireguard shows a quick tile setting, which can be readily used!


text:
One wifi hotspot client uses all the bandwidth, causing problems for others. Is this configurable in a smarter way?
I use my Pixel 2 as a wifi hotspot daily. I usually works great even with 2-3 connected clients, but I had a problem recently where two computers were connected, one playing a game and the other watching a streamed video.
The game started getting disconnects and network problems and it became clear that the other client, streaming video, must have been consuming the maximum bandwidth available, leaving almost nothing to the gaming client. Once the video stream was stopped, the gaming client worked fine again.
This surprised me but I don't know how these things work in detail. I would hope for a setting that could create some fairness, for example "allow max 80/20 bandwidth consumption between two clients" or 50/50 for simplicity. I know that video streaming has different ways to adapt to the available bandwidth so I'm sure the video client would be fine with less, but the game needs some minimum to work.

Use tc on Android device.

On the computer which is streaming videos, check (toggle) the Pixel2 hotspot as a metered connection which would help a bit


text:
How can one turn off incoming videos in Google Hangouts?
I wonder how one can turn off incoming videos in Google Hangouts. I.e., disabling all videos for anybody else in the call when in a videoconference. The motivation is to reduce the network usage.
E.g. in Bluejeans:

Please elaborate what did you actually mean by "turning off" incoming videos

@karthiknair disabling all videos for anybody else in the call when in a videoconference.
The motivation is to reduce the network usage.

I'm afraid you can't achieve that ; sorry.


text:
How to prevent charging over USB while debugging / tethering internet over USB?
When I'm on the go, I want to use internet tethering and debugging over USB to develop mobile apps with my Pixel 3A, but I don't want to charge the phone, because I want to waste energy on my MacBook as little as possible.
Is it possible to disable charging when the device is connected to my laptop, if so how? I know that I can set up debugging over WiFi and use a mobile hotspot, but I can't stand my hotspot performance and WiFi drains energy from my laptop as well.

If your phone is rooted there are apps which can disable charging while the phone is connected via USB. On an unroofed device the only possibility I see is to manipulate the USB cable by cutting the +5 V power cable inside the USB cable.Not sure if t!his would really work and then it needs to be an USB-C cable makes it much more complicated. An USB adapter could also do the trick, unfortunately I only know the opposite (charge only no data connection).

@Robert I'm using USB-C which allows me to reach high data throughput (LTE). Unfortunately, the device is not rooted, but I would also welcome answers that require a rooted device as well (for future reference). However, it would not help me right now, unless I decide to get GrapheneOS in the near future (something that I have in mind for a while, already).

Some details on how charging can be disabled on some rooted device can be found here: https://android.stackexchange.com/questions/54902/disable-usb-charging There are also read-to use apps that make use of this and e.g. allow to limit charging to 40-60% so that the phone never runs out of power, e.g. this open source app: Battery Charge Limit - ROOT

I was looking for a solution that doesn't require root and I came across one. When USB tethering is on, I can get into its settings by touching on the notification:

There is a toggle that allows me to disable charging for this session.
Funny thing is I had to enable the toggle to disable charging, the option should be called "Don't charge connected device" instead.

Turning 'Charge connected device' on will charge the device connected to your Android device.  I.e. If you have your Android phone connected to your laptop and you turn on 'Charge connected device' it will charge your laptop (assuming it can be charged through the USB port you connected your phone to, e.g. MacBook with USB-C charging)

@samaitch I really appreciate your comment. Suddenly it makes sense, but now my solution is not what I am after. It's a neat side-effect and can be used when the host device rejects charging (like on a fully charged laptop), though. So my solution will lengthen the session of my MacBook, yet still shorten the session of my Mobile. Given the fact that charging results in net loss of energy in all circumstances, I still hope there is a better solution to enable tethering without any charging in either direction whatsoever.

For the record, on my stock Android Nokia 5.3, which recently was upgraded to Android 12, I don't see that 'Charge connected device' option at all.

To get to that USB page I have to do Settings > Connected devices > USB, and it has no option to toggle charging. This is on standard Android 9 (moto e6), and also (IIRC) on Android 11 Go (on a cheap phone). I had the cheap phone tethered all day every day for cheap internet access. After 6 months the battery bulged, and I guess the constant full charge contributed to that. It would be good to be able to control when it charges, to let the battery cycle normally, and not get too full.

@samaitch , I understand what you are telling but in practical the trick by Martin-braun is working. I observed 0 % change in my android after 30 minutes turning ON "charge connected device".

I couldn't find that menu on Oreo, where is it?

This answer is also helpful when using USB tethering for networking. When I enable "charge connected device", it means the phone tries to charge the laptop. It can't do this (can't deliver meaningful power I suppose), so neither device is charging the other, which is the outcome I want


text:
Is there an easy way to transfer many, but not all, files to an SD card?
I'm hoping to transfer my photos to a card (then my computer). The problem is the card is too small to handle all of them at once. Is there a way to select say half, or tell it to transfer until it runs out of room? Is there any alternative to selecting thousands of files by hand?

You could try Termux app. It is a terminal/shell that executes text commands, so you could execute a command to move all files that match a certain pattern to sd-card. Some file manager apps may also allow to select files based of a filename pattern so you don't have to select them by hand.

adb is the way to go. don't you have usb connection?

I don't have a usb connection anymore. It broke, I have a samsung...


text:
How to tell if an app is calling a system function and debug it
Super noob here for android. I have a dice app and I don't trust it! I want to see what is generating the numbers that it gives (1 through 6 each roll). To start with I was thinking I would see if it calls whatever system/math function android has for rand() (I assume there is one).
I don't have a version of the app with debugging enabled. Can I put a breakpoint (or whatever we call them these days) inside the system's rand() function to see if it gets called?
Thanks!

Root your device, install Xposed and hook into whatever system APIs you want to track.

Typically Dice applications aren't very complicated any may be even not obfuscated. Then you can simple decompile it using e.g. Jadx and check which Java functions are used. Alternatively inject Frida into the app so that you can trace or hook functions to se when they are called and if the result is the shown output.


text:
Reverse engineering the Stylo6 bootloader unlock
I've unlocked the bootloader and I'm analyzing the backups from before and after the unlock to find many partitions have changed,  I want to find a way that will anyone to unlock their bootloader in the stylo 6 also without the use of a paid tool

You could have run an USB sniffing tool (e.g. Wireshark has this option) to capture all traffic from/to the device while performing the unlock. As all used USB protocols are not encrypted you would have seen all commands the tool had executed. Now as your hone is already unlocked this option may not work anymore.

In most cases you can't unlock bootloader e.g. by directly patching bootloader binary partition(s). Even if you succeed in creating a hex patch, it may not work on all devices (of same model obviously). Even with small OTA updates, OEMs keep on changing their bootloader binaries. So the binary partitions aren't always identical on different devices. And the approach you are thinking about can easily hard-brick a device.

Furthermore seccfg partition is cryptographically tamper protected (that's where bootloader state is stored) so hex patch isn't of any use

Well I can easily relock the bootloader with sp flash tool performing a format on the seccfg, and even with unlocked bootloader and root in cannot disable AVB, and yes I have hard bricked all 3 of my Stylo 6's many times,  I'm glad I used my program to make a complete backup,  I'm bringing back my bricks as 3 identical clones to eliminate any variables while testing

that's soft brick. you wouldn't be able to recover from hard brick on broken preloader. you now have 3 identical clones with identical IMEI and Mac address, that will generate conflicts on bluetooth, wifi and may cause trouble on network provider. cloning IMEI is illegal in some countries

regarding AVB read this https://android.stackexchange.com/q/219968

I've figured it out,  I can lock and unlock by flashing the seccfg partitions. But the modifications are made by the paid tool and I have the logs of the process, I can use the mtkclient tool to flash the unlock successfully, but my paid tool is what I need to use to get the correct seccfg.bin but there is a generic mtk code that is made that works on some devices,  I've been working for months on this project and I can see the light at the end of the tunnel now. I only cloned the devices for developmental use, I hard bricked and fully formatted the phones to do this


text:
Removing Gmail from phone
I understand that my Android 'phone needs Google to operate but why must I have a Gmail account?
I don't use my email linked to Gmail but get a lot of mail; I choose to use AOL for all mail as I have done for 20+ years.
Can I close my email on Google without affecting the operation of the 'phone?
Details

If you don't want your GMail account you can simply ignore it.
On Android you can uninstall/disable the GMail app so you won't get any notifications. As GMail is a system app on Google Android devices you can't uninstall, just disable it.
It may happen that GMail is re-enabled again if you install a system update/upgrade. Then you have to disable it again.

Thanks, I have disabled the app and will keep checking to see if it re-enables.

But also make sure that in your Google profile , your AOL account is mentioned as standby account else you may miss out on security related issues pertaining to your account +1

John, if the answer meets your expectations, you can accept it


text:
Where does Android store disabled packages list?
So I was playing with adb pm uninstall and now my phone doesn't boot.
So I'm actually curious, how really pm uninstall works, where does it store the list of uninstalled packages (if it does) and if there is a way to revert the changes I made via adb shell with root.

The is a file named /data/system/packages.xml which contains a lot info on each installed app. I never checked it but this would be a good place to start searching.

Disabled package states are stored in /data/system/users/<UserId>/package-restrictions.xml. Uninstalled packages are, well, uninstalled. They aren't disabled.

please mark the answer as accepted (check mark)

To answer your question. No there's no way to  get back an uninstalled app on Android like in Windows where you can restore back to a point in time - that feature unfortunately isn't that well developed in Linux ( Android is a far off modification of Linux ). if you had uninstalled using this ( below ) command instead of pm uninstall ( which just hides the app as against throw it out )
adb shell pm uninstall -k --user 0 <package>

you could re-install using
adb shell cmd package install-existing <package>

sounds like you don't quite fit in  the above. In that case your other options are
-hunt around the internet for the same package name and see if you can re-install it ( chances are fat to find the same  exact version and esp if its system app it may not install correctly or if it used crypto keys )
-Backup existing data. If you have an older /system backup then restore that after a full wipe.
-Resintall new ROMfrom scratch and restore data from backup


text:
How to access to USB port from ubuntu emulator on android?
I installed userland on my Android device and I run Ubuntu on it and connect to it with VNC server, how can I access the USB port from Ubuntu? Is it possible at all?
If userland can't access the USB port, what about other emulators like androidnix?

is your device rooted?

@alecxs  I can root it

https://android.stackexchange.com/q/232890 you can mount usb storage as usual and add pass through mount points in settings

@alecxs where is the properties - Allow to mount the Android resources address or properties - Edit the mount points list , I Can't find it in VNC server or UserLand!


text:
Android incorrect reporting of storage usage
I have a moto g 7 power running android 10. I am attempting to clear out some storage. In the storage portion of the settings app, it shows 4.6GB of audio, but when I go to delete those files, it states there are none there.
I'm unsure if there are files the phone is somehow unable to detect or if its log of contents is holding an error. Either way, is there a way to clear out this storage usage?

Are they in the recycle bin?

See my answer to How disk space is used on Android device?


text:
How to stop showing "online toast message" of mine to other gbwhatsapp users
This is very annoying that gbwhatsapp users are able to get toast notification when I come online from official WhatsApp App account(I am not using gbWhatsApp)
I am talking about getting instant notification/toast message of online in gbWhatsapp NOT showing "online" inside my window/profile. Also I am not asking about lastseen.
How can I stop this notification to them by using official WhatsApp app ?
Can someone comment if I can achieve this by using gbWhatsApp ?

By "official whatsapp account", did you mean "the official WhatsApp app", or are "you also using GBWhatsApp with the official WhatsApp account (whatever it means)"?

Hi, I've edited my old answer. You may check that.

You can't. Not if you use the official WhatsApp app.
You can if you use modded WhatsApp (like GBwhatsapp, Aerowhatsapp, etc.) and you can freeze your last seen for everybody.
I personally don't recommend using modded apps since there could be a huge privacy threat.

Edit:

Since the last time I answered this question, WhatsApp has introduced a new feature of hiding even the online status.

Hi, lastseen is not my problem that I can hide with official WApp. But the notification other people is getting is my issue. I always use official WApp.

@r15 looks like this is an added feature of GBWhatsApp. If you're using the official WhatsApp app, then there's nothing you can do to prevent that since the official WhatsApp app doesn't support this feature in the first place.

@r15 I don't think you know that even if your last seen is turned off for everybody, WhatsApp shows you online when you come online. So there's nothing you can do about it with the official WhatsApp app (I strongly don't recommend using modded apps as I stated above)


text:
How to change Bing Search to my default search engine in Firefox?
After installing Microsoft's Outlook app I noticed that when going to search for something on the Internet by selecting text and searching, I am forced to use Bing instead of my default search engine (Google).

(Screenshot from Firefox)
I have just found out that this is a known issue mentioned by Android Police in 2020.
I use Firefox 90.1.3 (Build #2015824995) on a Samsung Galaxy S10 and Google is always set as my default. I even removed Bing from the options, yet it is still there when trying the selection search.

I noticed that when using Samsung's Internet Browser, there is the extra option of 'Web search' as well as 'Bing Search' and using 'Web search' goes to my default search engine. That is not on Firefox.
Is there a known way to stop this intrusion into my right to choose which search engine I use when using Firefox?
@Robert indirectly made a good point on settings within Outlook within comments so I had a look.
I am forced not to use my default browser as I cannot set it in Outlook (see below)

Tapping on the slider does nothing

Is the first screenshot from Outlook app or from Firefox?

@Robert from Firefox - see edit for Outlook settings

I have never seen such a menu in Firefox as shown in you 2nd screenshot, may be Outlook has installed a system wide add-on to capture long presses and show this Bing menu? Then I would check options of Outlook if you can disable it there.

@Robert that screen is found by tapping menu (three dots) - settings - search https://support.mozilla.org/en-US/kb/manage-my-default-search-engines-firefox-android

Sorry, wrong screen-shot, I was referring to the menu shown in the 1st screen shot.

I think this menu isn't created by Firefox, but either a system-wide function created by the Outlook app. There are many apps that createsuch links in so to say right-click menus on Android.
I don't however know how to remove this, sorry.
But I can suggest a different mail app to you, which is more privacy-friendly in comparison to Outlook or Gmail. It's named FairEmail an available at email.faircode.eu. I know this isn't the solution you are searching for, but I just wanted to spread this great app.

I checked fairemail and it does not look spammy. It seems to be really an opensource mail app.

The fact that the toggle to enable "Use default browser" is unresponsive is apparently some kind of bug. Depending on your version/email setup, you're meant to either have the "Use default browser" option or not. It shouldn't be greyed out like that -- though it's that way on mine as well, and I've seen MS forum posts from others to that effect so this may be some weird, hopefully temporary, regression.
In many third-party apps, selecting text will trigger an android webview rather than a full-fledged browser. Contextual Text Selection was released in Android 6.0, allowing developers to capture text you select in their app and send it to another process. The developer can decide what options to include on that little pop-up menu, so adding "Bing search" is Microsoft taking advantage of a captive audience. It's strange that you don't have "Web search" in your pop-up menu as well, though -- it shows in mine. That context menu is somewhat dependent on other apps installed, so this might sound obvious or odd, but do you have the Google app installed (the lightweight search that comes pre-installed on a lot of androids)?
It looks like this:

I think this may be the source of the "web search" option. Until they fix the default browser toggle, adding the web search possibility will at least give you something of a workaround.


text:
Possible to perform data recovery with dead cpu? (LG G6 - Android 9)
I've got a dead LG G6, suddenly freeze during normal using.
After force rebooting, it was completely dead even though connecting to charging cable.
Have already performed cpu chip-off and reballing, still the same symptoms as before.
The cpu (Qualcomm Snapdragon 821) was found dead and the mechanic told the data is non-retrievable because of the fde with cpu.
Research from internet:
- The data partition is encryted with the key stored in cpu
- only replacing normally-function cpu is not possible to power on the device

Im wondering if chip-off technique applied to take off the ufs, reading it using a BGA153 reader on computer + brute-force decryption is possible or not.
The knock code(screen lock) is known, may perform dictionary attack without wild guess.
The screen lock is 6-step knock code.
Steps:

Extracting the full dump as a bin file
Performing a brute-force method(hashcat + physical analyzer) to the mounted storage
Good news or infinite waiting?

Thats absolutely my bad of not frequently backup the phone, want to make up the fault and retrieve those memory back.
Highly appricated to any advice on the issue, many thanks!

Does this answer your question? How to get data off a completely dead Android phone?

https://bits-please.blogspot.com/2016/06/extracting-qualcomms-keymaster-keys.html whatever you have read forget it, one can't brute force RSA-2048 key and there is no vulnerability to extract it


text:
How to sync Garmin Connect with Google Fit?
I have Garmin Swim 2.
On my Pixel 3A XL installed Garmin Connect, it works fine.
But I want also see data on Google Fit.
Unfortunately Garmin Swim 2 doesn't connect with Google Fit and I need to install third party app do this.
I installed Health Sync.
Look like it's working:

But I don't see any activities in Google Fit where I didn't have my phone with me, for example swimming, sleep and so on.
On Garmin Forum I found the following:

in Settings of Google Fit, under Tracking Preferences, Turn off "
Track your activities" Use Phone sensors to automatically track
metrics like steps and distance.

Okay, I did this, but it didn't help.
What I should do to sync Garmin Connect with Google Fit?

Thanks to Health Sync support, problem was solved.
Actually I have two google accounts and Goggle Fit used another account.
When I switched to correct account, everything started to work.

if there is a problem with Health Sync, you can use the 'Report another problem' option in the Help Center, and you will get support to solve the problem.


text:
Is there a way to search for contacts with special characters in their name?
I have a Pixel 3. Some of my contacts have special characters in their name, e.g. "&". When I search for these contacts nothing comes up (nothing from my contacts, it will display some results, as far as I can tell they are results from the local caller ID lists).

Try different apps. Or develop a small one just for search purpose. It's simple.

Do you have a suggestion for a different contact app?


text:
How to upload all Android photo gallery Albums to Dropbox?
I currently have my phone's digital photos uploading to my Dropbox "Camera Uploads" folder, but I recently discovered that some of the folders in my Gallery > Albums are not uploading. For example, I downloaded photos from the Disneyland app to my Android. Those photos were saved in my Gallery/Albums in a folder called "Disney". Those photos have not uploaded to Dropbox. Meanwhile, other folders in Gallery/Albums (such as my Screenshots folder) have uploaded to Dropbox.
Why would some folders not upload? Is there anything I can do too ensure that every single Album/photo is uploaded to Dropbox automatically?

I have the same question.  This is what I learned from Dropbox Community
"The automatic camera upload feature uploads all photos and videos from the "Camera" and "Screenshots" albums on your device."
See https://www.dropboxforum.com/t5/Dropbox-files-folders/Phone-Galleries-and-Camera-Uploads/td-p/539326


text:
Redmi Note 8 locked, need help with unlocking/backup
I need help regarding a Redmi Note 8 that no longer accepts the correct pattern and is locked.
I'm looking for a solution that would allow me to either unlock my phone without data loss, or make a backup of the phone's internal storage on an sd card/pc before hard resetting.
The device is not rooted and I don't have custom recovery installed. USB Debugging is on, but my laptop is not authorized. Bootloader is locked.
With Adb, the device is detected but unauthorized. It seems to be detected normally in fastboot mode. I was able to get my laptop to detect it in recovery mode by clicking on "Connect with MIAssistant" while it was plugged in, but only in sideload mode. I also somehow managed to get into safe mode, but I used the stock screen lock, so unless there's something else that can be done in that mode, it doesn't seem useful in this situation.
I tried the actual MIAssistant software but it tells me to update my device before connecting. From what I found, this is because it doesn't even work with phones running Android 6.0 Marshmallow or above, so that seems to be a dead-end, unfortunately. Downloaded from here, updated to version 3.2.1.3111. If there's a newer version that could support my device, even an untranslated one, I would love to know, but I couldn't find a working one.
I had some ideas that could potentially solve my problem, but couldn't find a way to actually execute them, so here they are in case someone out there who knows more than me could help me with one of them.
1, Is there any way I could authorize my laptop for USB Debugging without being able to accept the prompt on screen?
2, Is there a way to make a backup of the internal storage of my phone in fastboot/sideload mode?
3, Is there a way to get adb to detect this device normally in recovery mode, instead of in sideload mode?
4, Is there a way to get my device into mtp/ptp mode instead of charging mode when connected to a PC without USB Debugging so I can copy my files?
5, Here's a thread I found that seems promising, although it's old. Could I somehow use this, or a similar method on Redmi Note 8? The Recovery Mode is much more limiting on this device, unfortunately, so I can't exactly follow this tutorial. Are there alternatives that can be done in adb fastboot/sideload mode, perhaps?
6, I have tried following these instructions, but after step 8, I got the message FAILED (remote: Fastboot boot command is not available in locked device). I assume this mean this method no longer works on a locked bootlocker. Is there a workaround for this?
7, If I am forced to hard reset, is there any method or software out there that could recover at least some of the deleted data afterwards, or is everything lost in case of a reset?
I am open to new ideas not listed above, as well. I am not a very advanced user so I probably missed some things.
Thank you so much for any answer in advance!

On a device with locked bootloader, standard recovery, no adb access and a lock screen that can't be passed it is next to impossible to get access to the data.

Does this answer your question? How to recover data when everything is locked (FRP, OEM)

Does this answer your question? How to make a complete factory reset, without anyone being able to retrieve my data?

Does this answer your question? Recovering data from Mi 4c able to get only to fastboot

This device runs new F2FS file system which is failure-prone. Furthermore files are encrypted with FBE file-based encryption, this is worst case for data recovery. However, if your data is worth it, pay for professional data recovery, some expert may by-pass signature verification and flash TWRP recovery from EDL mode proof of concept (assuming you know correct pattern). In any case don't do factory reset

Thank you so much for the resources. I will try to contact a professional and see if there's anything they can do.


text:
How do I make my android ROM auto-mounts and activate a swap partition in my sd card?
I have created a swap partition via GNOME Disks in my SD Card and I found that my Android system doesn't detect it until I used Aparted to activate it but still It is not persistent after a reboot and I don't know how to recognize the path of my swap partition according to Android But I knew the path of my SD card via Aparted: /dev/block/mmcblk1 so I don't know how to modify fstab.qcom for permanently using the swap partition in my SD card.

Do mkswap once and then you just need to run swapon on every boot: How to run an executable on boot? // Similar question: https://android.stackexchange.com/q/78177/218526. // Why using SD card as SWAP partition is a bad idea: https://android.stackexchange.com/a/220042/218526

"swapon" just doesn't work alone as It needs a file argument and the android "swapon" is limited than another.

or tell me how to use mkswap/swapon with a swap partition I created on my sdcard?

It's obvious that you need to provide partition block device path to the swapon command. You can simply hard-code the path: /dev/block/mmcblk1p[N] in the boot script. Or to be on safe side, provide the UUID of the partition to swapon: https://www.man7.org/linux/man-pages/man8/swapon.8.html. Build a full swapon binary from util-linux package. Or do some scripting to get the block device path from UUID and provide that to the Android's minimal swapon.

yeah, I discovered that the path is /dev/block/mmcblk1p1 and swapon is working now but not persistent upon reboot. What about fstab.qcom I  have added /dev/block/mmcblk1p1          none            swap    sw              0       0 to it and it didn't work.


text:
Implementing Dynamic Partitions instead AB systems
Is there an easy way to implement dynamic partitions for the oneplus 7 or any other phone built in with AB partitions system
I want to support super.img to be able to test CGI images without the need for full wipe

what is full wipe? formatting userdata is always required between different ROMs, unrelated to partitioning scheme


text:
Suspicious pre-installed Google Files app on Infinix HOT 10
I'm using Infinix HOT 10. I got tired of the buggy pre-installed File Manager, so I started looking for alternatives on Google Play Store. To my surprise, I found the Google Files app (which is supposed to be installed on my phone alongside the buggy pre-installed File Manager) in the search results with the option to install it.

I wondered "If it is already installed on my phone, how can the option to install it be there?". So, I installed it. Then I ended up with two apps that have the same exact name and icon but they look different when opened.

The Files app that is pre-installed can't be uninstalled. It also can't be force-stopped or disabled, unlike the pre-installed File Manager app, the Files app that I installed or other Google apps.
It's mentioned in the "App details" section in "Settings" that it's installed from Google Play Store. But when I chose to view it on Google Play Store, I got a message that told me to try again.

I find this to be suspicious and weird. Any explanations?

Without any details it is hard to say what files app you have installed, especially as some manufacturer replace or modify the files app. So there is no definitive answer unless you have checked the APK itself. So I would recommend to extract the APK and then verify it's signature  and check who has signed it.

Also, mentioning the package name for all your file managers would also be helpful for us to help you further.

The preinstalled Google Files is a DocumentsUI module, a part of the modular system components introduced since Android 10.
Searching for "aml_doc_302000001" returned an entry on APK Mirror for another Google Files with the package name com.google.android.documentsui. Then searching for the package name referred to the official documentation about the DocumentsUI module.
According to the overview of modular system components,

Android 10 or higher modularizes some Android system components and enables them to be updated outside of the normal Android release cycle. End-user devices can receive updates to these modularized system components from the Google Play Store infrastructure or through a partner-provided over-the-air (OTA) mechanism.

As such, this is actually a legit preinstalled Google Files that can be updated independently of the bigger OS update.

As an aside, Google actually has 3 Files apps:

Files by Google (com.google.android.apps.nbu.files), also available on Play Store.
Files (com.google.android.documentsui), AOSP file manager since Android 10, part of modular system components.
Files (com.android.documentsui), AOSP file manager app until Android 9.


text:
Xiaomi 11 Ultra - rear display for vlogging
How I can see myself during video recording on Xiaomi 11 Ultra rear display ?
Is there any app which supports it or I have to wait until Xiaomi implements it.
I have Chinesse ROM. Ready to do anything to get it. Thank you!


text:
How do I enable zRAM with the highest priority in Android persistently?
I want to know how to use the /dev/block/zram0 in full power, but I can't apply the command swapon -p 32767 /dev/block/zram0 as it returns this:

swapon: Couldn't swapon '/dev/block/zram0': Device or resource busy

So how do I modify the actual zram's line I have in fstab.qcomto change priority?

/dev/block/zram0                                        none
swap    defaults
zramsize=3221223823,max_comp_streams=8,zram_backingdev_size=512M

It seems that you have a wrong perception about "full power" and high priority. swappiness is a different thing. // Resource busy means it's already mounted. // To set SWAP priority in Android's fstab, you can pass swapprio mount option: https://android.googlesource.com/platform/system/core/+/refs/tags/android-11.0.0_r1/fs_mgr/fs_mgr_fstab.cpp#214. But I don't see any point in it.

In application, how to write it in fstab?


text:
How do I save my Redmi Note 8/4GB from app discards?
I am a power user and I mostly switch a lot between apps, so I don't like discarding.
I use a custom ROM which is less heavy than MIUI ROM yet Still my background apps take a lot of memory that multitasking without discarding is not possible even with 4GB + 2GB zRAM I have.
Do you know any workaround for this without buying a new phone nor sacrificing apps, knowing that when I run cpuinfo in terminal: It doesn't show swp in features, so I don't think the swap will work out of the box with me and using a swap partition in my SD card will make the phone slow also except if there is a way to partition the internal storage or /data.


text:
Gapps stuck at "Mounting partitions" while installing via TWRP
I'm trying to install LineageOS on my Moto E4. I've been able to successfully sideload the custom ROM and boot into Lineage, but I can't install Gapps. Specifically, after sideloading LOS, I sideload the Gapps ROM. It gets to the message "Mounting partitions" and hangs there.

check recovery.log

I don't know the precise reason why, but it was because I was booted into TWRP through fastboot instead of from a flashed recovery partition. After flashing recovery and booting there, the Gapps install completed without issue.