text:
Volume Panel Android 7.1.1
Ever since Android 7.1.1 I am unable to find the page (activity screen) to set, on one screen, the volume for the various audio outputs, such as notificatios, media, etc. Is there such a screen inherent in Android 7, or do I need to find an app for that.  Thanks for your help.

Yes this is found under Settings → Sound i.e

If for some reason you can't find it or is hidden, then just grab a third-party activity launcher application from playstore e.g Quick shortcut to access com.android.settings/com.android.settings.Settings$NotificationSettingsActivity

Install Quickshortcutmaker from Playstore
Select normal search - under input box type sound and click search

In search results it will show Settings click it,  and expand the list you will find "Sound & Notification"  then click try (or create shortcut by pressing create).

I had "Volume" under "Settings/Sounds", but it looked like a heading, so I never clicked it. Not smart I suppose, but now I can set the volumes for "Notifications", "Media", and "System".  Great answer. Thanks.

Please don't forget to accept the answer if it solved your issue :)

I had "Volume" under "Settings/Sounds", but it looked like a heading, so I never clicked it. Not smart I suppose, but now I can set the volumes for "Notifications", "Media", and "System".  Great answer from @xavier_fakerat. Thanks.


text:
Device is showing in device manager but not in Android ADB Interface?
Hi I am Having some problems while using adb on my computer.
I connected tab to my laptop with a usb cable.
And This is the device manager.

Here you see that my lenovo tab is connected but not connected in android device.
I typed adb devices in cmd and too it showed "List of devices attached" and nothing else.
Please reply as fast as you can.

First make sure you have the latest USB drivers for your device installed on your computer. Also make sure that USB Debugging is enabled. If the problem persists, you may try reinstalling the drivers. May I know if you are using adb as sideload to flash roms or other usage?

Isn't there any way to enable USB Debugging without going to settings. There there is a method by using TWRP but to install TWRP you will also need USB Debugging for ADB to work.

source: Stack Exchange

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

sort: votes


text:
Enabling USB Debugging on locked (FRP) android phone
I have a Samsung J5 Prime (SM-G570F/DS) that has been factory reset and now asking for Google account.
I've read this can be bypassed if ADB is enable. So I would like to know a way to do so.
As I have access on Recovery menu and Download Mode, should I flash something that can enable USB Debugging?
Your help will be appreciated.

Solved by flashing an Eng ROM aka Combination file with Odin in download mode. But flashing just a modified SBOOT is necessary.

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

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


text:
Why can't the touch layer on the screen can't be replaced?
AFAIK, touchscreen has three different layers: the protective glass, the touch panel, and the LCD screen:

Touch technology in smartphones explained - FlatpanelsHD
However, when an area of the screen is not responsive, in my observation technicians will replace the whole screen, not just the touch panel, and this would increase the fixing cost significantly. Why is that?

Digitiser and screen are normally sold together and they are likewise changed together unless you insist and they accommodate. More revenue to them

What is the "digitiser"? There is no appropriate meaning in Wikipedia. Is it the touch panel in the above image?

see this. BTW your question is off topic being Android independent (most touch screens work the same way and nothing specific to Android)

You do see the "adhesive" in the middle right? Most screens right now are in some way laminated (especially AMOLEDs), glued together by optical adhesives, which most shops either can't separate or can't guarantee to apply back without compromising display performance or structural integrity.

@AndyYan if a shop claims to be able to do so, would the new glue stop adhere after sometimes (the insurance time, for example)?

The glue is cured/solidified with UV light, so if it's properly applied then there's little chance it'll come apart. The problem though is usually not applying the glue properly (or using low-quality glue) in the first place, resulting in bubbles, display artifacts, etc.

@AndyYan do you know why some area of the touch panel can be dead, while the rest is not?

Not sure about that - I don't dig into the mechanics.

It depends on the phone, really. I had a Motorolla Attrix HD with a broken touchscreen, the LCD was fine, and I was able to order a replacement touchscreen by itself. However, during the repair, separating the LCD screen form the touchscreen damaged the LCD (it was glued on way more tightly than the one in the youtube video I was following for this exact model).
Some phones, the touchscreen and LCD screen are sold as an assembly, other phones, the 2 parts are available separately.

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


text:
Unlock android pattern after changing Gmail Password
My little brother had put a pattern lock on my old phone. I can't lose any data from that phone as It has many important contacts in it. so I'm not going for a factory reset. I had recently changed my password of my gmail account. Now I cannot access my phone through that gmail account. What can I do? The phone is Samsung Galaxy y with android 2.3.5.

On older Android devices, if you lock your phone using Google's find my device you'll be able to choose a new password, and you'll then be able to access your phone.
Go to android.com/devicemanager enter your email address and password. Now, press on lock. You will now see an option to put in a password to lock your phone with. After filling it out and pressing lock, You should be able to unlock your device with the password you chose.


text:
Android emulator root option
I want to emulate a android smartphone on my pc. I already found the android emulator from andoid sdk manager but its look more like a programming tool so I am not sure if this is what I want.
I want an emulator that is able to install android with root permissions so I can install apk's like lucky patcher etc.What can I use?

What OS are you using on PC? Yes you can use android sdk for this, and you can root using this method

Windows 10. And ok I will try this

Private users can use Genymotion Emulator "Genymotion for fun" for free, their images are usually already rooted and it does not feel "like a programming tool".

Android SDK is not necessarily for development only, you can simply download the standalone Android SDK and install it your your PC.
After setting up your AVD simply, root it using this method. This is a standard method that works for most applications (except for a few requiring flashing .zips via recovery e.g Xposed, but I'm working on a fix for that)
Note: To access API > 27 on your target AVD, you need to manually upgrade the emulator.
`

Does this work with android 9 too?

Yes it does after you upgrade your emulator

I didnt get it to work, I did everything like in the tutorial. I have sdk version 28+ installed but android 9 isnt starting at all and android 7 just hangs in the andoird screen :/

It doesnt work with the 28 version. After I tried the 27 version it worked.

I choose a google cpu/abi and now it is still loading after 10min with the google sing. Is this normal? I have a good pc btw

you should use intel images (x86) there are faster than arm, and yes api 28, 29 works

If you still aren't successful you can try @Robert method for genymotion

Yeah but I only saw a Trial and a Business Version on the genymotion site. Is there a Version for free? on my cpu/abi selection there was no ARM to select. I will try all cpu`s later. How long should it take to get past the "Google loading screen"? Edit: Oh I see he edit the link to the free Version. I will try it if I am back home.


text:
How to choose the appearance of the Gmail app?
In Android, Gmail released an update, and it asked me for Default, Comfortable or Compact appearance.
I chose the Default, ofc I don't like it, I miss the old red bar already..
Now I want to try the Comfortable appearance in the Gmail application. How to?


text:
Clear HTML5 storage in Samsung Internet?
I have a problem using Samsung Internet Mobile Browser on my NoteFE running non-rooted Android 8.0.
Some websites (like mega.nz) use - what I suppose - HTML5 to store data/files offline somewhere. To access the downloaded data as file, Samsung Internet then copies the download from the internal storage to a normal file. This looks like a download, but the data is already in some kind of cache. Chrome does the same, also on PC.
Now, it seems like Samsung Internet doesn't delete this background data. However, looking at app details, I see "data" (not "cache"!) growing with each download, filling up my phones memory. It's already a couple of GB in size.
How do I reclaim this space? Only option seems to be to 'clear data', which includes all bookmarks, site info, and what not.

Never mind. I found it:
Menu - Settings - Advanced - Manage website data
This list distinguishes between normal and https, and I failed to find the item as it was saved from a page without https, while the site generally is served with https. So 2 entries, the one was the one with the big size.
Problem solved!


text:
Can't Flash Google Factory Image - No Boot Partition
I seem to have bricked my phone but thankfully the bootloader is unlocked so I'm sure there is a way to fix it. I am having a hell of a time though, I think I need to re-create the boot partition manually. Here is what I get when I try flash-all.bat
I can't find instructions how to re-create partitions, but I noticed this in fastboot --help, does anybody have experience creating partitons with fastboot? And/Or can somebody get the partition map from their device and/or share/extrapolate the commands needed.
  erase <partition>                        Erase a flash partition.
  format[:[<fs type>][:[<size>]] <partition>
                                           Format a flash partition. Can
                                           override the fs type and/or size
                                           the bootloader reports.

I get the same in both slot_a and slot_b and I have manually flashed bootloader.img & boot.img
C:\Program Files (x86)\Minimal ADB and Fastboot>flash-all.bat
target reported max download size of 536870912 bytes
sending 'bootloaderb' (36336 KB)...
OKAY [  0.156s]
writing 'bootloaderb'...
OKAY [  0.516s]
finished. total time: 0.672s
rebooting into bootloader...
OKAY [  0.016s]
finished. total time: 0.016s
target reported max download size of 536870912 bytes
sending 'radiob' (60388 KB)...
OKAY [  0.261s]
writing 'radiob'...
OKAY [  0.837s]
finished. total time: 1.101s
rebooting into bootloader...
OKAY [  0.002s]
finished. total time: 0.003s
target reported max download size of 536870912 bytes
archive does not contain 'boot.sig'
archive does not contain 'recovery.img'
archive does not contain 'system.sig'
archive does not contain 'vendor.sig'
wiping userdata...
Creating filesystem with parameters:
    Size: 120909180928
    Block size: 4096
    Blocks per group: 32768
    Inodes per group: 8192
    Inode size: 256
    Journal blocks: 32768
    Label:
    Blocks: 29518843
    Block groups: 901
    Reserved block group size: 1024
Created filesystem with 11/7380992 inodes and 511380/29518843 blocks
--------------------------------------------
Bootloader Version...: TMZ20k
Baseband Version.....: g8998-00253-1809191716
Serial Number........: 710KPMZ0311515
--------------------------------------------
checking product...
OKAY [  0.000s]
checking version-bootloader...
OKAY [  0.000s]
checking version-baseband...
OKAY [  0.000s]
sending 'bootb' (40960 KB)...
OKAY [  0.188s]
writing 'bootb'...
FAILED (remote: No such partition.)
finished. total time: 0.219s
Press any key to exit...

Well I'm into TWRP but still things awry, but this post is resolved. I had to specify boot_a or it tried to use boota.
fastboot format:ext4 boot_a
fastboot flash boot_a boot.img

Finally got fully back to stock, which is what I like to do after a soft brick. I did it by manually typing fastboot flash foo_a foo.img for EVERY IMAGE. Then I finished by re-locking the bootloader.
Note: It's scary to lock bootloader while softbricked but I can confirm I have locked/failed to fix brick/re-unlocked bootloader from Fastboot. As long as your "brick" starts with the bootloader unlocked you should be good!
Here is my rediclous fix of my problem:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boota' (40960 KB)...
OKAY [  0.156s]
writing 'boota'...
FAILED (remote: No such partition.)
finished. total time: 0.156s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot --slot:boot_aflash boot boot.img
fastboot: unknown option -- slot:boot_aflash

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot --slot:boot_a flash boot boot.img
fastboot: unknown option -- slot:boot_a

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot --slot boot_a flash boot boot.img
Slot boot_a does not exist. supported slots are:
a
b

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot --slot a flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boota' (40960 KB)...
OKAY [  0.172s]
writing 'boota'...
FAILED (remote: No such partition.)
finished. total time: 0.172s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot --slot all flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boota' (40960 KB)...
OKAY [  0.156s]
writing 'boota'...
FAILED (remote: No such partition.)
finished. total time: 0.172s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase boot
erasing 'boota'...
FAILED (remote: Check device console.)
finished. total time: 0.000s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase boot_a
erasing 'boot_a'...
OKAY [  0.016s]
finished. total time: 0.031s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase boot_b
erasing 'boot_b'...
OKAY [  0.016s]
finished. total time: 0.016s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash boot_a boot.img
target reported max download size of 536870912 bytes
sending 'boot_a' (40960 KB)...
OKAY [  0.156s]
writing 'boot_a'...
OKAY [  0.577s]
finished. total time: 0.733s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash boot_b boot.img
target reported max download size of 536870912 bytes
sending 'boot_b' (40960 KB)...
OKAY [  0.172s]
writing 'boot_b'...
OKAY [  0.562s]
finished. total time: 0.750s

C:\Program Files (x86)\Minimal ADB and Fastboot>

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash bootloader bootloader-taimen-tmz20k.img
target reported max download size of 536870912 bytes
sending 'bootloaderb' (36336 KB)...
OKAY [  0.141s]
writing 'bootloaderb'...
OKAY [  0.531s]
finished. total time: 0.672s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [  0.000s]
finished. total time: 0.000s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash radio_a radio-taimen-g8998-00253-1809191716.img
target reported max download size of 536870912 bytes
sending 'radio_a' (60388 KB)...
OKAY [  0.219s]
writing 'radio_a'...
OKAY [  0.859s]
finished. total time: 1.078s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash radio_b radio-taimen-g8998-00253-1809191716.img
target reported max download size of 536870912 bytes
sending 'radio_b' (60388 KB)...
OKAY [  0.235s]
writing 'radio_b'...
OKAY [  0.859s]
finished. total time: 1.094s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [  0.000s]
finished. total time: 0.000s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash boot_a boot.img
target reported max download size of 536870912 bytes
sending 'boot_a' (40960 KB)...
OKAY [  0.156s]
writing 'boot_a'...
OKAY [  0.547s]
finished. total time: 0.703s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash boot_b boot.img
target reported max download size of 536870912 bytes
sending 'boot_b' (40960 KB)...
OKAY [  0.156s]
writing 'boot_b'...
OKAY [  0.750s]
finished. total time: 0.906s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash vendor_a vendor.img
target reported max download size of 536870912 bytes
erasing 'vendor_a'...
OKAY [  0.030s]
sending 'vendor_a' (360328 KB)...
OKAY [  1.339s]
writing 'vendor_a'...
OKAY [  1.563s]
finished. total time: 2.931s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash vendor_b vendor.img
target reported max download size of 536870912 bytes
erasing 'vendor_b'...
OKAY [  0.031s]
sending 'vendor_b' (360328 KB)...
OKAY [  1.354s]
writing 'vendor_b'...
OKAY [  1.542s]
finished. total time: 2.943s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash system_a system.img
target reported max download size of 536870912 bytes
erasing 'system_a'...
OKAY [  0.078s]
sending sparse 'system_a' 1/5 (524284 KB)...
OKAY [  2.610s]
writing 'system_a' 1/5...
OKAY [  2.235s]
sending sparse 'system_a' 2/5 (524284 KB)...
OKAY [  2.625s]
writing 'system_a' 2/5...
OKAY [  2.266s]
sending sparse 'system_a' 3/5 (524284 KB)...
OKAY [  2.469s]
writing 'system_a' 3/5...
OKAY [  2.266s]
sending sparse 'system_a' 4/5 (521176 KB)...
OKAY [  2.454s]
writing 'system_a' 4/5...
OKAY [  2.261s]
sending sparse 'system_a' 5/5 (167104 KB)...
OKAY [  0.797s]
writing 'system_a' 5/5...
OKAY [  0.734s]
finished. total time: 20.794s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash system_b system.img
target reported max download size of 536870912 bytes
erasing 'system_b'...
OKAY [  0.062s]
sending sparse 'system_b' 1/5 (524284 KB)...
OKAY [  2.469s]
writing 'system_b' 1/5...
OKAY [  2.294s]
sending sparse 'system_b' 2/5 (524284 KB)...
OKAY [  2.453s]
writing 'system_b' 2/5...
OKAY [  2.250s]
sending sparse 'system_b' 3/5 (524284 KB)...
OKAY [  2.453s]
writing 'system_b' 3/5...
OKAY [  2.250s]
sending sparse 'system_b' 4/5 (521176 KB)...
OKAY [  2.449s]
writing 'system_b' 4/5...
OKAY [  2.276s]
sending sparse 'system_b' 5/5 (167104 KB)...
OKAY [  0.781s]
writing 'system_b' 5/5...
OKAY [  0.734s]
finished. total time: 20.474s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash modem_a modem.img
target reported max download size of 536870912 bytes
sending 'modem_a' (60380 KB)...
OKAY [  0.231s]
writing 'modem_a'...
OKAY [  1.312s]
finished. total time: 1.543s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash modem_b modem.img
target reported max download size of 536870912 bytes
sending 'modem_b' (60380 KB)...
OKAY [  0.250s]
writing 'modem_b'...
OKAY [  1.328s]
finished. total time: 1.578s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash abl_a abl.img
target reported max download size of 536870912 bytes
sending 'abl_a' (540 KB)...
OKAY [ -0.000s]
writing 'abl_a'...
OKAY [  0.031s]
finished. total time: 0.031s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash --slot all abl.img
unknown partition 'abl.img'
error: cannot determine image filename for 'abl.img'

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe --slot all flash abl.img
unknown partition 'abl.img'
error: cannot determine image filename for 'abl.img'

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash abl_b abl.img
target reported max download size of 536870912 bytes
sending 'abl_b' (540 KB)...
OKAY [  0.016s]
writing 'abl_b'...
OKAY [  0.016s]
finished. total time: 0.031s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash aes_a aes.img
target reported max download size of 536870912 bytes
sending 'aes_a' (48 KB)...
OKAY [ -0.000s]
writing 'aes_a'...
OKAY [  0.016s]
finished. total time: 0.016s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash aes_b aes.img
target reported max download size of 536870912 bytes
sending 'aes_b' (48 KB)...
OKAY [  0.000s]
writing 'aes_b'...
OKAY [  0.016s]
finished. total time: 0.016s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash cmnlib_a cmnlib.img
target reported max download size of 536870912 bytes
sending 'cmnlib_a' (220 KB)...
OKAY [ -0.000s]
writing 'cmnlib_a'...
OKAY [  0.016s]
finished. total time: 0.016s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash cmnlib_b cmnlib.img
target reported max download size of 536870912 bytes
sending 'cmnlib_b' (220 KB)...
OKAY [ -0.000s]
writing 'cmnlib_b'...
OKAY [  0.016s]
finished. total time: 0.016s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash cmnlib64_a cmnlib64.img
target reported max download size of 536870912 bytes
sending 'cmnlib64_a' (288 KB)...
OKAY [  0.016s]
writing 'cmnlib64_a'...
OKAY [  0.016s]
finished. total time: 0.031s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash cmnlib64_b cmnlib64.img
target reported max download size of 536870912 bytes
sending 'cmnlib64_b' (288 KB)...
OKAY [ -0.000s]
writing 'cmnlib64_b'...
OKAY [  0.017s]
finished. total time: 0.017s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash devcfg_a devcfg.img
target reported max download size of 536870912 bytes
sending 'devcfg_a' (60 KB)...
OKAY [ -0.000s]
writing 'devcfg_a'...
OKAY [  0.016s]
finished. total time: 0.016s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash devcfg_b devcfg.img
target reported max download size of 536870912 bytes
sending 'devcfg_b' (60 KB)...
OKAY [  0.016s]
writing 'devcfg_b'...
OKAY [  0.013s]
finished. total time: 0.029s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash dtbo_a dtbo.img
target reported max download size of 536870912 bytes
sending 'dtbo_a' (8192 KB)...
OKAY [  0.037s]
writing 'dtbo_a'...
OKAY [  0.109s]
finished. total time: 0.146s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash dtbo_b dtbo.img
target reported max download size of 536870912 bytes
sending 'dtbo_b' (8192 KB)...
OKAY [  0.031s]
writing 'dtbo_b'...
OKAY [  0.141s]
finished. total time: 0.172s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash hyp_a hyp.img
target reported max download size of 536870912 bytes
sending 'hyp_a' (264 KB)...
OKAY [  0.000s]
writing 'hyp_a'...
OKAY [  0.020s]
finished. total time: 0.020s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash hyp_b hyp.img
target reported max download size of 536870912 bytes
sending 'hyp_b' (264 KB)...
OKAY [  0.014s]
writing 'hyp_b'...
OKAY [  0.000s]
finished. total time: 0.015s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash keymaster_a keymaster.img
target reported max download size of 536870912 bytes
sending 'keymaster_a' (308 KB)...
OKAY [  0.000s]
writing 'keymaster_a'...
OKAY [  0.026s]
finished. total time: 0.026s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash keymaster_b keymaster.img
target reported max download size of 536870912 bytes
sending 'keymaster_b' (308 KB)...
OKAY [  0.012s]
writing 'keymaster_b'...
OKAY [ -0.000s]
finished. total time: 0.012s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash laf_a laf.img
target reported max download size of 536870912 bytes
sending 'laf_a' (29800 KB)...
OKAY [  0.125s]
writing 'laf_a'...
OKAY [  0.406s]
finished. total time: 0.547s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash laf_b laf.img
target reported max download size of 536870912 bytes
sending 'laf_b' (29800 KB)...
OKAY [  0.110s]
writing 'laf_b'...
OKAY [  0.125s]
finished. total time: 0.250s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash pmic_a pmic.img
target reported max download size of 536870912 bytes
sending 'pmic_a' (52 KB)...
OKAY [ -0.000s]
writing 'pmic_a'...
OKAY [  0.016s]
finished. total time: 0.016s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash pmic_b pmic.img
target reported max download size of 536870912 bytes
sending 'pmic_b' (52 KB)...
OKAY [ -0.000s]
writing 'pmic_b'...
OKAY [  0.016s]
finished. total time: 0.016s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash rpm_a rpm.img
target reported max download size of 536870912 bytes
sending 'rpm_a' (232 KB)...
OKAY [  0.016s]
writing 'rpm_a'...
OKAY [  0.009s]
finished. total time: 0.024s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash rpm_b rpm.img
target reported max download size of 536870912 bytes
sending 'rpm_b' (232 KB)...
OKAY [ -0.000s]
writing 'rpm_b'...
OKAY [  0.000s]
finished. total time: 0.017s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash tz_a tz.img
target reported max download size of 536870912 bytes
sending 'tz_a' (1868 KB)...
OKAY [  0.016s]
writing 'tz_a'...
OKAY [  0.026s]
finished. total time: 0.045s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash tz_b tz.img
target reported max download size of 536870912 bytes
sending 'tz_b' (1868 KB)...
OKAY [  0.016s]
writing 'tz_b'...
OKAY [  0.016s]
finished. total time: 0.045s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash vbmeta_a vbmeta.img
target reported max download size of 536870912 bytes
sending 'vbmeta_a' (4 KB)...
OKAY [ -0.000s]
writing 'vbmeta_a'...
OKAY [  0.016s]
finished. total time: 0.016s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash vbmeta_b vbmeta.img
target reported max download size of 536870912 bytes
sending 'vbmeta_b' (4 KB)...
OKAY [  0.000s]
writing 'vbmeta_b'...
OKAY [  0.017s]
finished. total time: 0.020s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash xbl_a xbl.img
target reported max download size of 536870912 bytes
sending 'xbl_a' (2620 KB)...
OKAY [  0.016s]
writing 'xbl_a'...
OKAY [  0.016s]
finished. total time: 0.031s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flash xbl_b xbl.img
target reported max download size of 536870912 bytes
sending 'xbl_b' (2620 KB)...
OKAY [  0.016s]
writing 'xbl_b'...
OKAY [  0.016s]
finished. total time: 0.031s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot.exe flashing lock


text:
What is directory access permission?
I recently got a Android 9 phone, and I noticed a new section under special access called "directory access". It lists no apps
This wasn't present on my old Android 8.1 phone, so I'm pretty sure it's new
What is it for?

The Android permissions model has been evolving with each release.  Starting in Android P, apps can request "directory access" to receive permission to access a scoped directory on the device.
For example, an app that requests the permission WRITE_EXTERNAL_STORAGE gets full access to external storage.
However, using scoped access, an app that takes and manages pictures might request access to the Pictures folder on your external storage device.  This allows you to ensure that the app in question can read/write data to Pictures and not say, Messages (or anything else in external storage for that matter).
The API is still fairly new so I'm not surprised that you don't see any apps currently using that feature.
Android has been fine tuning access rights for apps, allowed developers (and users!) greater control over who gets access to what.
You can read more about scoped access here: https://developer.android.com/training/articles/scoped-directory-access

And the settings are saved in /data/system/urigrants.xml.

Thanks for the answer! Wasn't sure I'd get one. I upvoted and accepted


text:
How to run regular google maps on android go?
I'm trying to install the regular heavy version android google maps from play store but it only brings up google maps go. What should I do to fix this?

You can install it by downloading the APK file of the app from any site.


text:
Single SMS won't delete from Messaging app
I have a phone (HUAWEI Y6 2018) that recently received a text message claiming to be from a postal company (AusPost). However, the subject for the message simply says '(No subject)', and when I try to open the message, it just won't open. With this in mind, I tried to delete the text, only to see it not delete and stay on the page. I've tried a few things to delete this text, such as:

Clearing both data and the cache for the messaging app
Trying to locate the folder where the messages are stored (I can't seem to find it)
Downloading apps such as Handcent and Backup & Restore to use their delete SMS features
Installing the latest system update and trying again
Adding a contact called "AusPost" and deleting the message

All to no prevail... the SMS just seems to be stuck in the inbox.
So what do I do now? I don't want to root my phone and I want this message gone.

is it really inbox or do you mean notification bar

@alecxs it is most definitely in the inbox

"...the subject for the message simply says '(No subject)'" - This sounds more like an MMS, as opposed to an SMS?

Well, it could be an MMS, but how would I be able to tell?

What turned out being the solution was to just factory reset the phone and ensure that everything was backed up - - thankfully, there wasn't too much that was deleted.

You can install MyPhoneExplorer for PC and remote administrate your messages

Will definitely look into this in the morning.

Tried it out just now but the SMS didn't show up on the messages page, despite the fact it is still in the inbox


text:
Family Link not available on OnePlus One?
My son is using an old OnePlus One, and I wanted to install Google's family link on it. The browser finds it but the play store doesn't, and when I click it in the browser (and go into the play store) I get a message "Item not found".
Because the OnePlus One's software has not been upgraded for ages I tried to solve it by installing Lineage OS together with the play store (via OpenGapps nano) but for family link I still get the same message.
Is this a software issue that can be resolved? Or is family link not supported for all handsets (including the OnePlus One)?

Which Android version is the OnePlus One? OR the LineageOS version you put on it?

At the moment it's LineageOS 15, so the one based on Android 8. Happy to upgrade but not sure that that would help?

As per https://families.google.com/familylink/device-compatibility/ the child version of Google Family link requires mostly Android Version 7.0 and newer, with a few exceptions.

Accepted, although the LineageOS that I use is based on Android 8. There is no technical reason not to accept that.


text:
4k Photos or just video?
I've seen in the updates that 4k 60fps has been added but I cannot find a setting to take 4k photos. The pictures don't look as good as the videos but I don't know if I am doing something wrong.

If would greatly help your chances of receiving aid if you share with us some basic details about your device - brand, make, model, Android version, etc...

Xiaomi Poco F1, Miui 10.3.4.0 global

As for the photo quality, it can be affected by many factors. You might be interested in our sister site, [photography.se] for experts in photography-related thing.

The "60fps" should indicate that it's only for video, which is consisted of many (picture) frames per second (fps).
4K video itself means "roughly 4000-pixel wide". This term came after the term 720p and 1080p for video, which both indicate "720-pixel wide" and "1080-pixel wide" video (the "p" is for "progressive" though, not for "pixel", but that's outside of the scope).
Photos, on the other hand, are usually calculated in megapixels (MP), which means "the total number of pixels in million". Considering a Camera app usually take a photos in 4:3 or 16:9 aspect ratio (width:height), for 4K-pixel wide, they are roughly 4000x3000 pixels (or 11 MP for 4:3) or 4000x2250 pixels (or 8.5 MP for 16:9).
According to GSM Arena, Xiaomi Poco F1 has a main camera up to 12 MP and selfie up to 20 MP, so there shouldn't be any problem to take "4K photos". There should be a setting on the stock Camera app to set the MP. Otherwise, try 3rd-party Camera apps that are able to.


text:
Stream Live Video from Android to RTMP Server
I'm working on an Android RAT (Remote Administration Tool) project as a course project. I want to add live video stream feature to the RAT. I've searched for different ways and find out three different ways:

Captures video from service, then upload the video
Streams video from camera in a local web server inside Android application (such as https://github.com/darshanrn/SpyCam)
Ant Media which is exactly the suitable solution which encodes the video and transfer as a live stream (https://github.com/ant-media/LiveVideoBroadcaster)

But the problem is that Ant Broadcaster needs an activity to preview the camera, however as it is described HERE (https://github.com/sprimgupta/Secret-Video-Recorder) it is possible to record video from a service without previewing.
I wonder how to make video stream inside service using Ant Broadcaster?
Ant Media connects a service to an activity and then broadcast the video:
https://github.com/ant-media/LiveVideoBroadcaster/blob/master/liveVideoBroadcasterSDK/src/main/java/io/antmedia/android/broadcaster/LiveVideoBroadcaster.java

Found another repo which is good but again needs activity. https://github.com/begeekmyfriend/yasea

Another one again needs activity: https://github.com/TakuSemba/RtmpPublisher

Finally I could create a live hidden camera library which takes a context and start streaming. The library code and release information is at:
https://github.com/mirsamantajbakhsh/LiveHiddenCamera
Here is a demonstration:


text:
Can I restore apps and settings from Google backup later?
When setting up a new device, Android offers to restore apps and settings from Google Backup.
If I'd like to do it later, is it possible to do? Or is the setup the only time you have access to this functionality?
Android 6.0.

Might be a duplicate of http://android.stackexchange.com/questions/103345/how-to-recover-the-back-up-data-from-google-account? Not sure

On my Nexus 5 on Android 6.0, there's Backup & reset on Android Settings, but there's no option to restore from there. On the other hand, perhaps Trigger Setup Wizard at next boot using command-line might be a workaround.

Afraid that's not possible: restore is either done on device initialization (setup), or not. Neither can you pick what to restore. Which is why I always recommend to at least not rely on that backup alone (or use a different solution altogether). As I never used it (for the reasons named plus for privacy – I don't like Google having access to my clear-text WiFi passwords, for example), I cannot give a definite answer, though.

@Izzy - on initialization, it offered me a choice of which programs to restore

@DVK Thanks for that detail! Must have been added at some point then. Though that doesn't help the OP either as it doesn't let you chose when but just what.

@Izzy - yep. Especially as I'm the OP :)))  I'll consider restoring from backup once I decide what to do rooting-wise (stock root or a custom ROM) this weekend, and hopefully will be able to get an answer experimentally out of that

I found an app that totally saved my life on this matter!
The app is called Activity Launcher and from this you can open Android Setup app (the one with Restore icon) and click on the activity CloudRestoreFlowActivity. The restore screen will show up and you can select a backup file you previously uploaded to Drive.
FYI, I use Mi A2 Lite with Android 9.0 Pie.

Activity Launcher instalel but "Android Setup app"? I cant see it, would you be that kind and give us a screenshot? Thanks! Would be a life saver.

Searching for CloudRestoreFlowActivity worked for me. It took some time, but the entry eventually popped up under "Android Setup"

This didn't work for me on a Sony Xperia 5 II with Android 10. The activity is in the list, but starting it does nothing.

Great answer! It worked for me, but I faced a challenge and wanted to share what happened. The first time I tried it, it worked great. But then when I tried to launch CloudRestoreFlowActivity a second time, nothing happened. I noticed in logcat there was a crash and it said something about the restore already being in progress. I resarted my phone, no luck. What I finally figured out was I had to clear app data on the Data Restore Tool app. Finally I could launch CloudRestoreFlowActivity again. This was on Android 12.

well, in my case on Galaxy S10 it ONLY INSTALLED the apps but did not restore any of their data! :( Then I tried installing TWRP and it required data format, so I did it and this time went through the initial phone setup properly and didn't skip the transfer of data from old phone. When I let it do in this first phase it actually worked properly and installed apps along with their data (not all of them are compatible with this functionality)

download it from here.....
https://www.apkmirror.com/apk/google-inc/android-setup/android-setup-1-0-290634092-release/android-setup-1-0-290634092-android-apk-download/download/
then launch it from android setup from activity launcher


text:
"Fastboot devices" command doesn't work after macos high sierra 10.14.4 upgrade
I recently upgraded my 2016 MacBook Pro to High Sierra 10.4.4 update and since the update "fastboot devices" command hasn't been working. "fastboot" itself gives a response but "fastboot devices" command gives
ERROR: Couldn't create a device interface iterator: (e00002bd)
ERROR: Couldn't create a device interface iterator: (e00002bd) error. It comes twice on the window.

this worked for me!!
https://www.xda-developers.com/install-adb-windows-macos-linux/
cant believe it.

"fastboot devices" has been working for me for years until I have upgraded to Mac OS 10.14.4.    I think this is a regression of the Mac OS.    I'm waiting for a new OS upgrade that fixes this regression.    In the meantime, I'm not sure if there is any workaround.

I have submitted a bug report to Apple. Following is the link:
https://bugreport.apple.com/web/?problemID=50376579

I have upgraded to Mac OS 10.14.5 and this regression is still not fixed. It's better to find a workaround.

jonathanzh, have you found a workaround? I'm also on 10.14.5 and haven't had any luck. I have access to a Windows and a Linux PC.

I had the same error in version 28.0.3 but it's fixed in 29.0.1.
You can download it from the official site.
It's also available from MacPorts, e.g
port install android-platform-tools

Install via brew with this command: brew cask install android-platform-tools

This might be a regression in android-platform-tools. Try fastboot version 9dc0875966c0-android from android-platform-tools 26.0.1 as it works for me on macOS 10.14.4

I confirm that the fastboot version in android-platform-tools 26.0.1 works on macOS 10.14.4. This is a nice workaround before Apple fixes this regression.

This is a Fastboot problem which has been fixed by google. See the release notes here:
SDK Platform Tools release notes
Here is what solved my problem:
Start android studio->go to sdk manager->select SDK Platform Tools -> Check "Show Details" -> Select Android Platform Tools -> Upgrade to 29.0.1 or newer.
See the images for more details:

Short answer: brew cask install android-platform-tools
Long answer:
I was in the same case (on macOS 10.14.6):
$ fastboot devices
ERROR: Couldn't create a device interface iterator: (e00002bd)

I tried previous answers of this topic without success, so I searched which program is at the origin of fastboot command:
$ which fastboot
/usr/local/bin/fastboot

$ la -l /usr/local/bin/fastboot
lrwxr-xr-x  1 Klemart3D  admin  52  7 jun  2016 /usr/local/bin/fastboot@ -> ../Cellar/android-platform-tools/23.0.1/bin/fastboot

In my case, I found my fastboot command was not managed by Android Studio or an independent tool but is a shortcut of a brew formula. So I forced install of new "android-platform-tools" paquet:
$ brew cask install android-platform-tools
==> Downloading https://dl.google.com/android/repository/platform-tools_r30.0.0-darwin.zip
######################################################################## 100.0%
==> Verifying SHA-256 checksum for Cask 'android-platform-tools'.
==> Installing Cask android-platform-tools
==> Linking Binary 'adb' to '/usr/local/bin/adb'.
==> Linking Binary 'dmtracedump' to '/usr/local/bin/dmtracedump'.
==> Linking Binary 'etc1tool' to '/usr/local/bin/etc1tool'.
==> Linking Binary 'fastboot' to '/usr/local/bin/fastboot'.
==> Linking Binary 'hprof-conv' to '/usr/local/bin/hprof-conv'.
==> Linking Binary 'mke2fs' to '/usr/local/bin/mke2fs'.
  android-platform-tools was successfully installed!

Shortcut is updated to last android-platform-tools version folder:
$ ls -l /usr/local/bin/fastboot
lrwxr-xr-x  1 Klemart3D  admin  73  7 may 17:59 /usr/local/bin/fastboot -> /usr/local/Caskroom/android-platform-tools/30.0.0/platform-tools/fastboot

And I have no more error!
$ fastboot devices


text:
How to get boot.Img from Samsung tab a 10.5 sm-t595
I have been trying and failing for days to root my tablet. As far as I can tell there is no TWRP available for this device and the only way that looks possible to root it is to use magisk adb method. The problem is I can't get the root. Img file to allow me to follow the instructions. Can anyone help?
Thanks
Paul

Samsung might be tricky to root, read careful (you may need Magisk Canary release):
https://topjohnwu.github.io/Magisk/samsung
according to this thread you need to extract it from firmware, which is hard to find:
https://forum.xda-developers.com/showthread.php?t=3887848
few ROMs: http://support.walytech.com/index.php?a=browse&b=category&id=8666

Thanks for the help with this. I was hoping to do this in the same way as the second thread you posted. I have now managed to extract the boot.img, but when i try to patch it magisk manager says its unknown or an unsupported image. I can extract the .lz4 file from the tar.md5 file easily with 7zip, and lz4.exe appears to extract the .ext4 file with no problems, but when i try to get boot.img from the ext4 file with 7zip it gives a warning saying "there are some data after the payload data". I tried this with 2 different roms that are both for my build number. am i missing something here?

hope this help https://forum.xda-developers.com/showthread.php?t=2073775

Thanks again. I can explore the files the files with that tool but still no luck. I found a stock image on https://desktop.firmware.mobi/ that magisk manager can patch, but the output is. Img file and there is not option to change the patched file format. Am I missing something or should I try to zip patched boot image up myself and put it back in the apxx.tar.md5 and try to flash that with odin?

the first link is the most important. however, it seems dead, so please read this https://forum.xda-developers.com/galaxy-s10/development/magisk-root-galaxy-s10-series-t3918699

Thanks for all the help. i got this working in the end. it was easier as its running android 8.1 so no need for the recovery partition. I will try and remember exactly what worked and post an answer in case it helps somebody else

Thanks to alecxs for all the help. In the end this was possible with Magisk Manager and odin. I will try and list all the steps needed, but there was a lot of trial and error so I may miss somthing.

Get enable OEM reset then usb debugging (this will factory reset the
tablet)
Find the stock boot.img I found mine here
transfer the boot.img to your phone and install magisk manager apk
(you will have to enable installing from unknown sources)
click install magisk and choose the option to patch a boot file. Copy the
patched file back to your computer
rename the file back to
boot.img
download this tool to repackage it to a .tar.md5
file
copy the boot.img into the parts folder and try and make
the .tar file then try the .md5. if you have problems download the
latest version of cygwin64 and copy the contents from the
installation folder into the bin folder of the tar.md5 tool and try
again
now you should have a tar.md5 file containing your patched
boot.img that you can flash onto the ap partition with odin. restart
to boot loader ( hold down power and volume up or use adb command
adb reboot-bootloader and flash (there are other more detailed
tutorials on how to do this)
check to see if it succeeded. For me
it succeeded and then when rebooting it failed the integrity check
and factory reset itself. I reinstalled magisk manager and found
that it had worked. I let magisk install itself and update. I
installed a root checker and it showed i had root access

I hope this helps someone


text:
Default text-to-speech (TTS) engine in LineageOS 16.0?
I have recently updated my OnePlus One to LineageOS 16.0 and noticed that there does not seem to be any TTS provider included anymore. In previous versions (LineageOS 15), there used to be Pico TTS as a default.
What happened here? Is there any way to get Pico TTS back?

Pico TTS is unmaintained and dead. At least publicly. Presumably, the fixed version of it is what is now called "Googls TTS", which is no longer open source.
My suggestion, if you're looking for an open source TTS, is to use Flite TTS, which is available via F-Droid repository or from github.
https://f-droid.org/en/packages/edu.cmu.cs.speech.tts.flite/

Link is dead (404), so unfortunately this answer no longer doesn't hold true any longer. It seems to have been unpublished with this repo having the last commits >6 years ago, with the latest APK now most likely being incompatible with recent Android versions: https://github.com/happyalu/Flite-TTS-Engine-for-Android

FWIW: eSpeak NG seems to be the only FOSS text-to-speech engine (available via F-Droid).


text:
I have android 7 but i cant locate factory reset protection(FRP)
I have android 7 on my device but i am cant find how i can enable FRP.
I was thinking that all devices above 5 have FRP protection app as the settings ought to have cloud and accounts menu that i can find the FRP support.
Is this to be expected?.

The Factory Reset Protection (FRP) is invisible and if it is present always active.
You only have to add one Google Account into the Android account list to "bind" your device to this account.
If the factory reset protection works or not you will only see if you perform a factory reset of such a device. If after the factory reset it asks for the password of that Google account it is active.

Most chinese made devices i have tested with have not this feature. You can pretty much factory reset even if you have 10 accounts attached to the device.


text:
problems linking devices on whatsapp
I have a few phones and a laptop.
I also have whatsapp on my laptop.
One of my phones call it PhoneA- had whatsapp on it and a sim card in there. It happens to be a bit slow. It still has whataspp on it and is still a bit slow and I still have it but it no longer has a SIM card in there.
Another phone, phone B happens to be faster than phoneA, maybe less annoying in some ways, and I switched the Sim card from PhoneA, to PhoneB. And left PhoneB in my car, and Phone B, got stolen from my car.
So now I have PhoneA which is slow and has whatsapp on it. And I have my laptop with whatsapp on it.
I have bought a new  fast phone, PhoneC
So to recap, PhoneA is my slow one. PhoneC is my new fast one.  PhoneB was stolen.  Also PhoneC has a new SIM card in there. (my old SIM card was in PhoneB and so got stolen with it).
I want to transfer whatsapp from my slow phone(PhoneA), or my laptop, to Phone C
I understand that only one phone can have whatsapp at a time, and various non-devices can have it simultaneously
If I try to get the QR code showing on PhoneA, so I go to PhoneA (the slow phone with whatsapp on it), and I choose settings, and then choose that grid picture, then it shows a QR code. So I get that.
If I go to PhoneC (the fast phone where I want to trnsfer whatsapp to it from PhoneA),  and I try to scan the QR code, then  PhoneC says "Invalid QR Code"  "Make sure you're scanning a QR code displayed on WhatsApp Web, Desktop, Portal, or any other official WhatsApp app. If it continues to not work, update the app or refresh the page and try again".
If I try to get the QR code showing on my laptop's whatsapp, then it seems I can do that by opening an incognito window and going to web.whatsapp.com  So i do that. It shows a QR Code. So I get that.
If I then go to Phone C(the fast phone where I want to transfer whatsapp to it from my laptop), then I go to linked devices and scan the QR code. then the Whatsapp in the incognito window gets the Whatsapp from PhoneC. That makes me think oh darn I hope I haven't lost all the whatsapp info from my desktop. But fortunately when I chose that window it's fine.
I on Phone A(my slow phone with whatsapp showing with my messages), I go to Chats..chat backup and it lists a google account call it blahiam@gmail.com
If I go onto PhoneC(my fast phone with blank whatsapp), and I go to Chats..chat backup, then it lists that same google account  blahiam@gmail.com. But it says "Backup your chats and media", Local: Never.  Last Backup: Never. And it has a backup button. (no point me clicking it though as it's a blank whatsapp. And I certainly don't want it overwriting the backup from PhoneA.
Also when I started Whatsapp on PhoneC, it did ask me for an email account for added security, and I said no. I've not had to pick that email account option before.
I suppose one thing I haven't done is generate a QR code on the whatsapp on my fast phone, try to scan it from the Whatsapp on my slow phone that has the Whatsapp. But i'm wary of wiping the Whatsapp on my slow phone.   I'm not really sure what direction whatsapp is meant to transfer either when scaning a QR code..
I'm not sure how to go about this.  Getting Whatsapp with messages on my new phone.
And I don't know if the fact that PhoneB got stolen and had my SIM card in it, the SIM card that was maybe in PhoneA, is an issue.

AFAIK, you need to back up the database backup locally (just in case), then change the phone number before transferring the data to the new phone.

@AndrewT. thanks, any idea re https://superuser.com/questions/1846084/how-do-i-load-a-local-whatsapp-backup-on-my-desktop-without-interfering-with-wh  ?


text:
How to decrypt old files that were encrypted using ES File explorer
I have old files that I encrypted using ES File explorer a few years back that I would like to decrypt. I know the password but ES File Explorer is no longer available on the app store. Is there another tool or work around that will enable me to decrypt these files?
Thank you.

The workaround portion is on-topic here.  Software recommendations, however, are on-topic only at Software Recommendations SE: https://softwarerecs.stackexchange.com

The APK (app/installation file) of ES File Explorer can be downloaded from APK Mirror. However, I don't know which version may work to decrypt your files, you might have to do a trial & error for this. Make sure to create a backup before testing on a few files first.


text:
How I can disable virt_wifi module and enable the rtl8188eus one?
At my quest using my usb stick I have build and Android kernel with rtl8188eus module fro android running upon x86_64:
mkdir -p /home/pcmagas/dlink-decompile
cd /home/pcmagas/rtlwifiand

git clone https://android.googlesource.com/kernel/common.git
cd common
git checkout android14-6.1-2024-04_r11

make clean
make mrproper
make ARCH=x86_64 defconfig
make menuconfig
make scripts
make

cd ..

git clone https://github.com/aircrack-ng/rtl8188eus.git
cd rtl8188eus

make -C /home/pcmagas/dlink-decompile/common M=/home/pcmagas/dlink-decompile/rtl8188eus ARCH=x86_64 KSRC=~/dlink-decompile/common KDIR=~/dlink-decompile/common
make -C /home/pcmagas/dlink-decompile/common ARCH=x86_64 KSRC=~/dlink-decompile/common KDIR=~/dlink-decompile/common

And I run my emulator with custom kernel:
emulator -avd WiFIUSB -gpu host -qemu -device qemu-xhci -device usb-host,vendorid=0x1903,productid=0x8328 -kernel /home/pcmagas/dlink-decompile/common/arch/x86_64/boot/bzImage -append "root=/dev/sda1 androidboot.hardware=generic_x86_64 androidboot.selinux=permissive modprobe.blacklist=virt_wifi"

But once I do:
adb -s emulator-5554 shell ls /sys/module/ | grep wifi

I see virt_wifi to be enabled but once I do:
adb -s emulator-5554 shell ls /sys/module/ | grep rtl8188

I get no result. Also the only wifi accessible is the AndroidWifi instead of the actual wifi:

So how I can disable the virt_wifi module and how I can enable the rtl8188eus one?
My USB devices are:
$ lsusb
Bus 002 Device 002: ID 05e3:0732 Genesys Logic, Inc. All-in-One Cardreader
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 002: ID 4e53:5407  USB OPTICAL MOUSE
Bus 001 Device 004: ID 2357:010c TP-Link TL-WN722N v2/v3 [Realtek RTL8188EUS]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Also upon android emulator I run an unrooted Android image shipped from SDK manager.


text:
Google Maps has stopped giving me spoken instructions when I ride public transport, how do I turn it back on?
Google maps always used to speak audible instructions like "stay on the 16 for 4 stops" and "get off at Dam Square".
It's suddenly stopped doing that as of late. The text notifications still appear, but no spoken instructions.
Such instructions are still spoken while driving, walking or cycling, it's just for public transit that they're gone.
How to I get them back?
I use Google Maps 11.140.0104 (#1067638495) on Android 14 (Google Pixel)


text:
pLAYit pasted from your clipboard
Recently I download the pLAYit app and when I open pLAYit I see there's a pop up like that (pLAYit pasted from your clipboard)
Is it safe or not I am worried about it should i take any action or not??

Did you mean to post an image?


text:
Building Android GKI kernel using "make"
I have kernel source for Qualcomm Snapdragon Kalama SOC. I wan't to build it, but i cannot use bazel as i'm building from Termux environment. The kernel is based on GKI. How to build the GKI kernel and the vendor modules using "make"? Should i merge GKI defconfig and vendor defconfig?


text:
Change default IME to a custom IME when building a custom ROM
I've developed a custom keyboard (IME) for Android that I can install and use on the device without any issues.
The next step I want to take is to set this keyboard as the default input method in a custom AOSP build that I'm working on.
I'm having trouble figuring out what changes I need to make in the AOSP source code to achieve this.
Any guidance on how to make my custom keyboard the default would be really appreciated.

Eventually, I found that there are multiple ways to replace the default IME in AOSP.
The approaches I considered include:

Changing the default LatinIME source code.
Modifying the source code of InputMethodManagerService to select the custom IME.
Updating System.Secure properties so the InputMethodManagerService would select the custom IME.
Other possible approaches that I may not be aware of.

I chose to update the System.Secure properties at boot, specifically enabled_input_methods and default_input_method. This method allows the custom IME to be set as default without altering the core AOSP code, making it easier to maintain.
To implement this, I used the settings put secure command within the device's init.rc script, which runs a bash script at boot to execute the necessary settings commands.
Here's what the init.rc looks like:
on property:sys.boot_completed=1
    ...
    start vendor.boot_start_sh

service vendor.boot_start_sh /vendor/bin/boot_start.sh
    class main
    user root
    group root system
    disabled
    oneshot

The init.rc file is located under the device folder for the specific device you're building for.
An example init.rc for dragonboard is located here.
This init.rc script triggers a boot_start.sh script upon boot completion:
#!/system/bin/sh
settings put secure enabled_input_methods com.my_custom_ime.package/.CustomIMEService
settings put secure default_input_method com.my_custom_ime.package/.CustomIMEService

These changes ensure that the settings are initialized so that InputMethodManagerService reads them and selects the custom IME instead of relying on its built-in logic.
If anyone has experience with other methods or suggestions to improve this approach, I'd love to hear your thoughts!

Have you worked on multi ime /multi keyboard display in both primary and secondary display? If yes, Let me know which source code modification made in AOSP 14?


text:
Does installing a custom ROM solve spyware problems on a Xiaomi?
I have done extensive research into the world of ROMs, but could not find the answer to the question: whether a device contains spyware on the firmware level.
I want to know whether unlocking the bootloader, and installing a custom de-googled ROM solves the problem of spyware on a Xiaomi phone.
I'd like to point the question towards Xiaomi, but in general, it would be nice to hear something on the overarching issue of: does installing a custom ROM on a mobile device solve spyware problems?

Which ROM you use is simply a question of trust. Do you trust the custom ROM developer more than Xiaomi or not.

And you're starting with a wrong, uninformed, and potentially xenophobic, assumption.

@Robert that is still taking it higher to the OS level. There's a lot of information on that, but nothing I could find on firmware.

@ChanganAuto the assumption would be that firmware contains spyware? You're probably right that I am uninformed. The point of this post was to get informed, so I would appreciate it if you told me what should change in my thinking? Point me in the right direction.

Yes, you assume you have a problem - spyware - without any understanding of what that is and singling out a specific brand.

Spyware is malicious software that enters a user’s computer, gathers data from the device and user, and sends it to third parties without their consent. Neither Google Services nor any other part of the custom Android Xiaomi provides is spyware. Both Google and Xiaomi collect data from users but always with their explicit consent. This happens with ALL phones out there. You'd need Chinese ROMs to avoid Google but then the tradeoff is having similar native services instead that aren't at all useful outside China.

@ChanganAuto I assume Kamil has the following article about Mi browser in mind when talking ab out Xiaomi and Spyware: https://www.forbes.com/sites/thomasbrewster/2020/04/30/exclusive-warning-over-chinese-mobile-giant-xiaomi-recording-millions-of-peoples-private-web-and-phone-use/

@Robert What that arguably FUD article mentions is not spyware. It's no different than so many other apps that send data to 3rd party companies for the purpose of targeted adds. Most send them to Amazon. Irrespective of the destination, the users explicitly consent to it the first time they open the app, also included in the ToS, etc. And, like any legit app, adds can be disabled in settings, anonymous mode can be enabled by default, and privacy settings activated in order to avoid data being sent to whoever it is sent.

@Robert Also it happens only in the cheaper sub-brands, not the main one, precisely because those sub-brands are partially "add-sponsored".

@ChanganAuto thanks for the clarification. What I probably meant by spyware, is any sort of backdoor that can be accessed without my knowledge and cause data leakage without consent.
I have been informed that Chinese companies are notorious for spying, so was unsure if simply installing a ROM solves the problem. You're mostly right about the fact that users explicitly consent to being spied on, but I don't believe that tech giants don't abuse harvested data. Getting a de-googled ROM that is not Chinese certainly is possible, by the way: https://itsfoss.com/android-distributions-roms/.

I have been informed that Chinese companies are notorious for spying You've been misinformed, they're the one doing the least. And, again, as long as you're informed of and consent to giving some of your personal data that's anything but spyware. You're also conflating "Google" with spyware just because they actively mine your data like no other which is ridiculous. It's always a trade-off between user's privacy and convenience, you can't have both. (...)

(...)  And yes, of course you can have Android without Google services but those ROMs aren't official and then you have to trust the not so transparent actors that make them. The only way to have official ROMs for your Xiaomi device without Google is actually installing the ones made for China.

FS0C131Y

@ChanganAuto then you have to trust the not so transparent actors that make them Aren't most custom ROMs free and open-source? Doesn't installing builds of well-known ROMs that are at least open-source resolve the issue of trust and transparency?

Not really. Even if they're completely open-source you'd need to be an expert to audit it. If you were you obviously wouldn't be here asking. But thi isn't a forum, comments aren't for discussions and you question is off-topic anywaty.


text:
Link2SD - Game ignores binded data after link
I use Link2SD Plus mostly to link app data from my internal storage to my external memory, I don't do anything fancy like creating a second partition to link obb, I simply link the game DATA FOLDER (where applicable) to my SD card on the first partition.
Now here's the issue, I recently flashed my device clean and upgraded from Android 11 to 12, I usually play my big games with the game files linked to my sd, I downloaded and installed the game files on my internal storage, I linked the data folder to my SD card, I launch the game and everything should be up and running but instead, it starts downloading the game's data all over again. Normally, this never happens unless I forget to bind the data folders stored on my SD card.
I tried linking the base game and then installing the data, but that didn't work, I'm at a loss for what to do. I tried downgrading to Android 11 but Link2sd just isn't working the way it used to. Is there another/better way to achieve the same goal? I'm looking at Fbind but I have no idea how to use it, I'd appreciate a simple cmd line I can run
Redmi Note 9 Pro (joyeuse) rooted with magisk


text:
Set up an Android device to only access Google Docs
I would like to create a dedicated word processing device that can only access Google Docs (and possibly Google Drive) and nothing more. The idea is to configure it to be completely free of any other distraction. Is it possible to set up an Android device this way?


text:
Throttle all notifications’ sound every 2 minutes
I have a lot of notifications on my phone even after I limited it only to the essential ones. I wish I could throttle their sounds every 2 minutes or so. I want notifications to appear on screen in real time but the sound would be played only if there was no other notification sound for these two minutes. Otherwise, just make one sound for all the notifications that arrived during that time. Is there any way to achieve that? I was looking into different apps but no one I could find offers this functionality.
The two minutes used here are just an example.
Kind regards and thank you for your help.


text:
All QDL tools won't see hard-bricked moto g8 power when trying blankflash
I am trying to unbrick my hard-bricked Moto G8 Power, but with all the blankflash tools I have used, the only response is:
< waiting for device >

When running lsusb, the phone shows up as:
Bus 001 Device 009: ID 05c6:9008 Qualcomm, Inc. Gobi Wireless Modem (QDL mode)

I aspect to need the rawprogram* and patch*.xml files, but I haven't been able to find any.
Any solution?

"All QDL tools" - what tool? what cmd?

Running LM 21.2 and Debian 10 under ChromeOS (both same result) and these tools: https://mirrors.lolinet.com/firmware/motorola/sofia/blankflash/ and https://github.com/linux-msm/qdl


text:
What is the difference between ‘used’ and ‘visited’ an app on google Activity page?
I’ve seen these two entries whilst looking at my google Activity page and just wanted to know the difference? I assume ‘used’ means I actually opened the app and used it so what would ‘visited’ an app mean?

"Used" means you opened and used the app, which implies you had it installed at the time.
"Visited" means you went to the app's page on the Play Store, or, presumably, another app store. This can be of interest to parents who want to keep track of their children's apps and usage, as described here.


text:
Is it safe to use a phone while charging it with a powerbank?
Is it safe to use a phone while charging it using a power bank or is it as dangerous while using it with a charging cable?

It is perfectly safe to use the phone while it is being charged.  If the battery is very depleted, the phone may get a bit warm to hot.  This is normal, but do not cover it with any material.
It is definitely not a good idea to put in under the pillow while it is charging.


text:
Phone only boots into twrp
I Have samsung note 20, after flashing twrp and vbmeta file  my phone only boots into twrp. have tried the key combinations but with no help. how do i restore it to stock firmware when it only boots to twrp?
Please help


text:
Permanently locked Tab S7
After using the pattern unlock too often, the tablet is now permanently locked, and I'm advised to contact Samsung customer service. They tell me, the only way to unlock is to factory reset and lose all my data. Anybody know another way, please? Also, cannot do factory reset as power+volume down combo never boots into recovery mode.

The customer service is correct.

Found this
How to factory reset via recovery mode

With your Galaxy S7 turned off, press and hold the Power, Home, and Volume Up buttons at the same time.
Keep holding down Power, Home, and Volume Up until you see Recovery Booting at the top of your screen (in the case of my Exynos S7, a dancing Android robot). When you see that, then you can let go of the buttons.
Now please wait a moment while it boots into Recovery Mode. Once you’re in Recovery Mode, you will see a list of options.
Scroll down using the Volume Down button until wipe data/factory reset is highlighted.
Push the Power button to select this option.
It will ask you to confirm.
Press the Volume Down button to select Yes and confirm the reset.

It should be noted that wipe data/factory reset does exactly what it says in the tin and that's not what the OP want. It can't be any other way as already informed by customer service.


text:
Is there any way to force opening a keyboard?
I've recently bought Lenovo Tab M9 tablet. Unfortunately on one of the websites I frequently use, the keyboard doesn't show in a field I need to type. Is there any way to force opening virtual keyboard to be able to type? I would prefer not use a psychical one. The suggestion from this old question is no longer available.

Which "suggestion" are you referring to, the linked question has multiple answers?

@Robert with the exception of the person suggested to buy a physical Bluetooth keyboard all other answers suggested using an app that does not work in newer android versions so it's a fairly safe assumption that OP is looking for an alternative to "Hacker's keyboard" . I did find this but have not tested any of the suggestions there yet


text:
recents/overview screen swap for launcher swap
is it possible to swap the default recents screen / overview screen that show up when we click the recents button?
the default view, I believe  is an activity of the default launcher(Quickstep)
after swapping the launcher to another, clicking recents tab dont show anything,
 a second click of the button shows a dialog that says unfortunately, QuickStep has been stopped
I guess this is happening because, after swapping the launcher the previous launcher is completely killed/blocked?
I want to change launcher
+
I want to use recents button too
so, is it possible to swap recents view if we create a launcher app which have a custom activity dedicated for recents view swap?
or is there any app that exists
or is it possible to use the default recents view with another launcher [launcher≠Quickstep]


text:
Why does an Android phone send out a nameless MAC address in BLE?
I have 2 Android phones and scan with a BLE scanner (nRF connect) on each phone simultaneously in an isolated area.
In nRF connect, both phones display a nameless MAC address, no Bluetooth device name.
I think it's weird nRF connect doesn't show the Bluetooth name of the other phone.
Next, I repeated the same scenario with Find My Bluetooth Device app (FMBD) on both phones. The older phone shows a nameless MAC AND the device name, while the new phone only showed a nameless MAC address.
Conversely, when I repeat this scenario with the native Android Bluetooth scanners, I simply see their device names, no MAC addresses whatsoever.
Note, both phones have 'Show nameless Bluetooth devices' enabled in developer options, yet no MAC addresses in the native BT scanners.
What is causing the nameless MAC addresses I see in nRF connect and in FMBD on the old phone, in my Bluetooth scans?


text:
How to connect PC to Android TV box with USB-A port?
Against my strong objections, my better half purchased an Android TV box from China - and I could not be more dubious of it.   I am wanting to connect to it via ADB to sniff around the filesystem before I even give it (highly restricted) Internet access, but I am failing at the first hurdle.
The specific box I am dealing with is an iMetbox M3 running BigDroidOS 2.0.1
(I've played around with ADB and regular cellphones, flashing quite a few, but never a TV Box)
[How] can I connect an Android TV box (which exposes only USB-A USB ports) to ADB?
(I do have an old USB Y Cable, but plugging this in does not produce any information in /var/log/syslog on my system, regardless of which USB port combination I use.    I've enabled USB debugging in the TV Box - and I also can't seem to find a way to enable ADB over WIFI - or at least I can't do anything that allows me to connect to tcp port 5555 on the TV box from my computer)
It also appears I can boot the box up to Recovery mode, but still can't see any ADB devices.   I do wonder if this might, however be able to provide me with some kind of shell which can help me further my endeavors?

Have you tried to open the case and see if the mainboard has additional connectors, not accessible from outside?

@Robert I did not get very far when I tried this - there are no visible screws and I did not want to apply excessive force on the edge of the device to try and pop up something (I did not find disassembly instructions on the net).   How common is it to have a hidden header on a TV board?

The question about hidden headers may be better answered on a hardware related site, but in my understanding that a lot of devices that are not as compact as smartphones have such headers or at least soldering points that may allow access e.g. to a serial console or something like this. An open case would also allow to check if all the USB port you have are connected to the same chip so if they are supposed to behave equally or if one may be different and may allow to operate as USB client as it is required for adb.


text:
Importing cell/wifi data into microG location provider
Version 0.2.29 of microG removed support for UnifiedNLP location provider back-ends (due to technical issues with newer Android versions), and instead built the functionality of some of these backends into microG. That includes the ability to scan for cell towers and WiFis in range and build a local database with them (formerly provided by the Déjà-Vu location providers) and the ability to query Mozilla Location Service (at least until that service was discontinued, but services with a compatible API would still work).
Now I am wondering if there is a way to import an existing database into microG to be queried locally (there used to be modules for mobile and wifi networks that could do this). Format is not that important – I can convert that as needed, if needed.
Unfortunately, since MicroG is a system app, I am somewhat reluctant to upgrading it just to find out, as I have never tried going back to an earlier version if something fails. The phone is my daily driver (i.e. production), not something I would want to carry out tests on.
So – does microG provide a way to import cell/wifi databases?


text:
How to mute ad sound by default?
While I do want to support developers of apps by watching adds, their sound volume very often is disturbingly louder than the apps themselves and it always takes some time to find a mute button. How can adds be muted by default without blocking them entirely or muting the entire phone?


text:
Arrange photos in Pictures app by date taken
I moved a large volume of photo files from my Samsung Galaxy S10 (running Android 11) to my computer for backup, but then copied them back, realizing that I still wanted them on the phone. Now some of them are listed in the Pictures app as taken on the day I re-added them. How can I get them sorted under the proper dates?

Does this answer your question? How can I transfer photos to my Android Jelly Bean device while preserving the original timestamp?

There is an app that claims to restore file dates from exif date: https://play.google.com/store/apps/details?id=eu.duong.imagedatefixer


text:
Trying to use µFR Nano Online wireless NFC RFID reader/writer as external NFC redear
I am trying to use µFR Nano Online wireless NFC RFID reader/writer, as extension of my Galaxy A54's NFC capability. ie. I want to be able to scan NFC tags around my home using 'NFC tools' app without taking my phone out of my pocket. i already have portable power unit to power the device but when I bluetooth the reader to my phone it stores tag UID in keyboard buffer instead of recognising it as a NFC tag.
How do I configure the device to function as I intend?
Cheers

Keyboard emulation in HID mode is a feature of this reader. Also the reader is programmable which means it is not a simply reader. Not sure if this is the correct device for what you want.

CHEERS. Any suggestions for what the correct device might be?

Sorry I have neve bought an NFC reader. Ally my devices have a built-in one.


text:
How to make link previews work again in WhatsApp?
Suddenly, my link previews don't work in WhatsApp anymore. I am sending links from major newspaper sites (like for example The Guardian) and WhatsApp doesn't show me a previews of the respective links.
I checked Settings > Privacy > Advanced > Disable link previews - and it is turned off. I tried to turn it on and then off again and it doesn't work no matter it's turned on or off.
My telephone is a Redmi Note 9S with Android 12 and it worked very well for 3 years now.
Is there anything I can do in order for WhatsApp to show me link previews again?


text:
I can't install an APK on the remote control of a DJI drone
I have a remote control for a DJI drone, and the operating system it uses is Android Lollipop 5.1.1. It turns out that it's very limited in terms of what I can do (basically, I can only use the DJI app to control the drone). My intention is to take advantage of the Android system to install an app that would be very useful to me. The problem is that I don't have Google Play, not even a file explorer. The closest thing I have is: Settings, Storage, Downloads. Even though it says that Downloads has 10MB used, when I enter that folder, it says "No Items" (the APK is copied there). I have already enabled developer options. Does anyone have any idea how else I could install an APK? Note: I don't have a web browser, Google Play, file explorer, email; I have almost nothing except the DJI app

If you have enabled Developer Options check it, if it contains the option for Android Debug Bridge (ADB). ADB access via USB from a connected PC would allow you access to adb install command and adb shell for file-system view and operations.

I don't know about DJI devices, but just a general note that manufacturers can customize their Android to lock it down and prevent any 3rd-party app installation, as has been seen on other brands like Kosher OS and Gabb phones.

DJI devices are locked down. It's designed to run as a controller only.

ok thanks to all


text:
Synchronize App Data Folder on Android 13
I'm currently using Android 13 on my Phone (No Root, No CFW). Now i want to synchronize the data folder of a app on my Phone with my PC. Means i want to automatically upload/download changes.
The Problem is with apps like syncthing i'm not able to access the /Android/data/<appfolder> anymore.
Does someone has a solution how to do a synchronization without rooting the Device?


text:
"Use screen saver" switch doesn't stay ON
I've got my first real Android device (until now only Android-x86 and Waydroid on PC) - a tablet and now I'm encountering some problems and googling doesn't help. First day I did set up the device, I know the screen saver showing clock was working. And then it just started to turn black. In the meantime I didn't do much changes. One thing I did I installed "System UI tuner" to be able to show seconds in status bar. I seem to remember that the screen saver worked after that because I thought about it not showing seconds.
Now I don't understand what happened but I cannot turn "Use screen saver" switch ON - when I tap it it launches screensaver, then I tap on the screen, the screen saver stops and the switch is OFF. After the inactivity timeout the screen goes black.
It is the same if I choose colors instead of clock, the same for different "When to start". I even tried to add a new user with default settings, anyway the screen goes black.
Android 12, a tablet

Dors ot not sound lime the fault of the System UI Tuner, to you?  Have you tried removing it?

@RohitGupta yes, of course, doesn't change anything. Btw for the new user there is no this app, no seconds in status bar, and anyway black screen.


text:
How can I back up app data from an unrooted phone?
I’m trying to get normally‐inaccessible app data off my ageing Pixel 3 running Android 12. It’s OEM‐locked so unfortunately I can’t root it without losing the very data I want to try to back up. I don’t really care about being able to restore it to another Android phone; I just want to get whatever data off the phone I can.
Things I already know won’t work:

adb pull: requires root to access app data

adb backup: deprecated and seems to have been completely neutered for Play Store apps by now

Google cloud sync: not an option for many things (e.g. comprehensive Chrome history, Element’s database)

The tentative plan I’ve hatched is as follows:

Obtain a burner Android phone

OEM‐unlock the burner phone so as to be able to flash something that will let me extract data from it (e.g. TWRP, or whatever people use to root devices these days)

Perform a device migration (“D2D transfer”) from my Pixel to the burner phone – I know this won’t necessarily recover everything, as apps can opt out and there’s potential encryption issues, but it seems to be the most comprehensive app backup option available (hence e.g. Seedvault pretending to do D2D transfer to achieve more complete backups)

Exfiltrate the data from the burner phone in whatever manner

The question is, will this work? I can imagine various potential issues, but it’s difficult to find information about online; maybe there’s some Play Integrity/SafetyNet type thing going on to ensure that migration doesn’t happen to an unlocked device – I’d assume there’s something to try and make it harder to subvert Android’s app security model with this? If it won’t work, is there anything at all that might achieve similar results? (The Android developer documentation has information about testing D2D backup directly, but it doesn’t give the impression that you can access the resulting data.) If it will work, is there any way it could be simplified (e.g. emulating an Android device in a VM on a computer and using USB passthrough of some kind for the migration, to skip the need for a second phone)?

What exactly are you trying to get off the phone? It sounds like the Pixel 3 can be booted and logged into, so what are you trying to accomplish here?

The main data I am interested in are Element’s DB files (because it’s hopeless at transferring complete chat history even with E2E key export), Telegram’s DB files (I can’t access the messages in‐app because my account was deleted for inactivity), and Chrome history. AFAIK there’s no way to export these in any “conventional” manner on an unrooted phone; I found ways to get Chrome bookmarks and open tabs out but history seems to be restricted to pages visited after turning sync on, and is even more limited if using a custom encryption passphrase to avoid disclosing all history to Google.

@beeshyams My idea was to OEM‐unlock the burner phone so I can flash something like TWRP or a root‐modified OS for backups, and then run the initial Android setup to do the device‐to‐device transfer. It’s been a long time since I tried to do anything like that, so it’s entirely possible that I’m missing something that would make this not work, hence my question. My understanding is that OEM‐unlocking erases all data, but that you can root a device afterwards while keeping data, so I figured as long as you can D2D transfer to an OEM‐unlocked device it might work.

@beeshyams Ah, I see what you mean. I’ve given up on directly transferring the data to my new device – I’ve run into this problem precisely because I already set it up fresh rather than doing a direct D2D transfer – I just want to get the data off onto a computer so I can extract whatever I need from it.

Let us continue this discussion in chat.


text:
AOSP pre-installed/system apps guidelines
Are there any customization guidelines or specifications for Android pre-installed/system apps provided by google that the AOSP developer needs to be aware?


text:
How to save images from a bricked Samsung tablet with MDM
My sister has a Samsung Tab A7 Lite that is soft bricked - stops loading at the logo.
Unfortunately she has many GB of photos on this device with huge sentimental value that haven't been backed up anywhere at all.
I can access recovery mode and download mode, and have a copy of the stock ROM from SamMobile, however I cannot flash it.
Trying to sideload from recovery it says "unauthorized".
Trying to install with ODIN it can't because MDM mode is blocking downloads.
MDM mode probably comes from the internet filter that was on it.
Is there any way to access and save these photos? We don't care if the apps and everything else is gone.
A local repair shop told us the only solution is a complete wipe and they couldn't save the photos. Posting here as a last hope!

only way to recover data is to fix the boot-loop. you could start with mtkclient and dump some data. maybe partial bootloader unlock and booting modified boot.img is possible. with adb enabled in boot.img you could get a logcat and inject some root commands. if device boots to a stage where data is decrypted you could use that script for reading files of boot-looping device


text:
who is this mysterious device owner? how do I disable it?
I can't set a device owner on the xiomi duoqin f22. (you can call it "device owner" or "profile owner" etc.)
i tried all methods previously given like ejecting sim card, hard reset, removed all accounts etc.
searched the whole internet for some other way around. couldn't find anything really helpful.
this is how the conversation looks.
adb shell "dpm set-device-owner com.com.babor/com.com.babor.AdminReciever

Exception occurred while executing 'set-device-owner':
java.lang.IllegalStateException: Trying to set the device owner, but the user already has a profile owner.
        at com.android.server.devicepolicy.DevicePolicyManagerService.enforceCanSetDeviceOwnerLocked(DevicePolicyManagerService.java:9409)
        at com.android.server.devicepolicy.DevicePolicyManagerService.setDeviceOwner(DevicePolicyManagerService.java:8352)
        at com.android.server.devicepolicy.DevicePolicyManagerServiceShellCommand.runSetDeviceOwner(DevicePolicyManagerServiceShellCommand.java:256)
        at com.android.server.devicepolicy.DevicePolicyManagerServiceShellCommand.onCommand(DevicePolicyManagerServiceShellCommand.java:89)
        at com.android.modules.utils.BasicShellCommandHandler.exec(BasicShellCommandHandler.java:97)
        at android.os.ShellCommand.exec(ShellCommand.java:38)
        at com.android.server.devicepolicy.DevicePolicyManagerService.onShellCommand(DevicePolicyManagerService.java:9728)
        at android.os.Binder.shellCommand(Binder.java:950)
        at android.os.Binder.onTransact(Binder.java:834)
        at android.app.admin.IDevicePolicyManager$Stub.onTransact(IDevicePolicyManager.java:6952)
        at android.os.Binder.execTransactInternal(Binder.java:1184)
        at android.os.Binder.execTransact(Binder.java:1143)

does anybody have a way to fix this?  thanks

And what is the package name of the device owner? See: https://stackoverflow.com/a/66157371/295004


text:
Opening a new tab using the google search bar w/o closing current website searched
When you're using the google search bar once you are on a website I am unable to open a new tab without the current one closing. If you use chrome you can always open a new tab but does Chrome have a search bar widget for the home screen?

Chrome has two widgets for searches:

Chrome search and
Chrome shortcuts which has a search bar among other shortcuts

The first image shows where you can find them. Depending on your launcher, you can long press on the Chrome icon, then select widget. Or you can long press on an empty space, this should show either to go the launcher's settings or the widgets'page.
The second image shows them on the home screen.


text:
Enable "Find my device" on just one account
I have two Google accounts on my phone. My personal one and a corporate one. Currently, from any machine logged in either accounts, I can find my device.
Although there's nothing nefarious about my whereabouts, I do not wish the admin of my corporate account to know where my phone spends its evening. Is there a way to disable "Find my device" for just one account?
I see the "Device Finders" -> "[On/Off]" switch. However that seems to control both accounts at once.

Dupe: How to use multiple Google accounts, but allow only one to locate my phone in device manager (2016, outdated),  Use multiple Google accounts, but allow only one to locate my phone in device manager (2019, no answer yet)

Reiterating my comment, an admin would have to reset your password then log into your Workspace account to be able to track your location, therefore you would get an alert to your device if this happened.
However, an admin wishing to track you, or an admin account that became compromised could do this. Therefore, it looks like private space is the way to go on Android 15:

To keep your sensitive apps away from prying eyes, you can set up private space, a separate space on your Android device to hide and organize apps.
With private space, you can:

Create a digital safe within your phone for the apps you don’t want others to easily access or find. These apps can isolate their data from the rest of your phone.
Switch seamlessly between main profile apps and private space.
Set up a separate lock for an extra layer of authentication.

So you'd install your corporate apps in private space, with private space logged into your Workspace account. You would have the main phone outside of private space logged into your Gmail only.
I tested this with Find My Device on a Workspace account and I get Find My Device is turned off. If you install Find My Device in private space, the UI directs you to turn it on in settings, but this appears to link to the whole device's setting rather than private mode. So this appears to be the way to turn Find My Device off for one account but not the other. In addition, if you lock private space, the apps can't run in the background, so even if Find My Device was on the location wouldn't be up to date.
Related article on Android Police regarding using Private Space for work-life split.


text:
Is there a way to diagnose this camera issue? Like some kind of crash dump or log? [unrooted Galaxy Note 9]
After water damage, my phone camera had to be replaced.
The camera worked after replacement, for a day or so. Then it came up with a black screen (menus are there, just no image). A reboot fixed that for a day, but now it's back and rebooting (even to safe mode) doesn't help. It's been long enough that it's dry but I know there could be residual damage.
I'd just like confirm whether it's hardware or software. Is there a log that might provide a clue? And can I view it without root?

I would start using different camera apps. Of course they all use the camera interface provided by Android but at the Samsung camera app may use direct Samsung specific API or even directly access camera so other camera apps would be a first test.

@robert good thought. Looks like it's a hardware thing, two other apps get the same result. Disappointing because it doesn't seem like there's anything left to replace unless it's the entire board.

Welcome to Android Enthusiasts. Sorry to hear about the situation, but perhaps How can I view and examine the Android log? may at least help in checking what happens when the camera apps run; do they return an exception (possibly software or OS issue) or nothing wrong (possibly hardware)?


text:
Trying to access data from a Realme GT Master Edition with broken screen
I'm here today because of a teeny tiny problem with my phone. As it got hotter and hotter (external factors, high usage, high temperatures on charging), the screen glue decided to abandon me, leaving my screen dangling with no protection. The flex cable connecting the mobo and the screen teared apart, hence leaving me with a phone without any visual input.
I've decided to not repair it as it's not worth the cost, but I need to access the data from inside the phone. I already know that with ADB it should be pretty easy to access those. The only problem? When I usually connect the phone to my PC, it shows the pop-up window to select the connection mode (only charging, Android Auto, data transfer, etc) and I need to select the data transfer mode in order to activate ADB.
Do you have a way for me to access ADB with only a cable and a PC or must I try to solder back the flex cable / change the screen? Thanks for reading and for the help!

Unless realme has modified Android adb mode is, once you have activated it, always active and does not need any USB selection dialog. If it doesn't work without in your case you may have installed the wrong drivers for the USB device that is visible before you change the USB mode in the dialog you mentioned. Most likely in charging only mode there is only one adb device and changing to data transfer changes it to one USB compound device plus as children adb device and mtp device.


text:
given the apk for an app, how can I discover what devices are and are not supported?
As per the title: if I manage to download an APK, it'll have some file(s) that list what devices are compatible or not (things like android version, screen size and other restrictions)
What is/what are these files?

See app manifest// How to get to manifest?

See my answer to a similar question: How to get the real reasons for an incompatible app/.apk?


text:
Set ISO country code on non-root phone with adb
I want to try the new body-temperature mode of my pixel 8 pro's IR sensor, however that is locked to the US. Apparently the app checks for the SIM ISO country code so I would like to change that to US. Someone wrote a guide that uses the apps Shizuku and Carrier Vanity Name to change the code. I would like to do the same using adb. However, executing setprop gsm.sim.operator.iso-country us results in Failed to set property 'gsm.sim.operator.iso-country' to 'us'. See dmesg for error reason.
I suppose it's a permission problem, but without root access, I can't access dmesg to look for the reason of the error. How can I debug this? And how can Shizuku execute the command that I can't, when from my understanding I need to grant Shizuku permissions using adb in the first place?

Such features are locked by all the carriers in your country.  They are also locked properly by the Phone manufacturers because they cant risk being fined for breaching the local laws.
They don't just use the SIM, but also the Carrier, information from GPS, information from Cell Towers and information from Wifi connections.
Your chance of bypassing it are slim to zero.  If someone has managed to do it, then ask that someone.
Your best bet is to do what I did (to get around a different restriction).  Look for a Chinese phone on Ebay or Aliexpress that advertises this feature, and buy it.  Note, it can't be a normal well known brand.  It needs to be unregulated and unknown brand.  The instructions will probably in Chinese, I had to get them translated by a friend.  Also beware of false claims.

There are enough reports that have successfully unlocked the body temp mode by changing the ISO country code using the aforementioned Shizuku + Carrier Vanity Name apps, I just want to know if there is another way to unlock or why only this way works. Buying another phone is not going to help.


text:
Whatsapp Chat History TXT File very long, display name of group participants spelled different in some parts of the chat
This is very strange. I downloaded a 400 page Whatsapp chat history from a group chat. I noticed that one of the group participants their name is spelled different in parts of the chat. The time stamp in certain areas of the chat are out of order as well. I deleted the group chat on my phone and only have this file. What went wrong?


text:
How to avoid auto launch force stopped application in Android 13
I am using Moto G72 which comes with Android 12. I was happy with Android 12. I am using the Greenify application to force stop unwanted applications. Whenever we click the icons of the unwanted applications, then only the applications wake up from sleep. Recently I got an Android 13 update. After updating, force stopped applications automatically wake up after a certain amount of time. I changed the battery usage of unwanted applications to Restricted. But no use. I can see the battery drain is more in Android 13 than 12.

Self promotion: How to stop background apps on Android?


text:
Launcher or whatever to limit user actions (for elderly)
My mother is a disabled person. She can't go out due to health issues. Her Android smartphone is the only way to communicate with the World (my brother, who lives abroad, her relatives, her friends etc). While she's not an advanced smartphone user, she plays with the phone a lot, what ends up with apps being deleted, contacts being blocked or removed, new unneeded subscriptions and so on. And she even does not realise, that she does all these (she says “the phone did this by itself”). This creates a lot of problems for me and nurses as we need to install and fix things all the time.
Is there any app, like a launcher, that can help dealing with this? I mean, at least the app should deny deleting apps, what is, probably, the biggest problem. Another contact/phone app, that would not allow blocking contacts, would be handy too. That's another big problem.
I thought about setting up Family Link, but, as far as I know, it does not prevent apps from being deleted. I considered also kid's launchers, but they usually limit, what can be launched, and I need to limit “management” functions.
Note, that I don't need a launcher for elderly, that makes things big and have a simple interface. I need an app to prevent some actions like deleting WhatsApp and don't care if this is simple to do or not.

I am using Nova because my pocket was doing some of these things. The home screen gets locked. And requires a long press on the screen followed by a long press on a lock icon to unlock it. I would definitely give it a go.

Does Nova prevent removal of apps? Maybe, it's possible to protect this function by a password? My mother removes apps on purpose (I believe, she thinks, she cleans system in this way, i.e., removes occupied temporary space, not apps themselves). I was trying to explain not to do so, but she forgets or whatever (she's not healthy). So, making it harder to unlock the home screen won't help, unfortunately. This will only make her nervous.


text:
How to disable/remove Recovery mode in Android?
I want to prevent myself and anyone from accessing Recovery mode on my android phone. Because basically, I don't want my phone to be reset to the factory state (wipe data) and sideload the firmware. Is there any app/method which can do this task? And is it possible and safe to lock the bootloader after completely removing the stock recovery partition?

Possible duplicate: How can I disable recovery mode?

Unless you have unlocked the bootloader firmware sideloading is restricted to official firmware updates that are anyway automatically installed by the software update system of Android.

as I know Google Pixel don't need to unlock the bootloader to sideload OTA images

This question is similar to: How can I disable recovery mode?. If you believe it’s different, please [edit] the question, make it clear how it’s different and/or how the answers on that question are not helpful for your problem.

I will try to flash stock boot.img to recovery partition by using: fastboot flash recovery boot.img. But I don't know if my phone can boot or not once I locked the bootloader

Normally fastboot flash only works on devices with unlocked bootloader (no matter if the data to be flashed is stock or a custom ROM/partition).

I know it, I mean after flashing I will relock the bootloader, is it possible and safe?


text:
Prevent OPPO Find from switching on due to alarm
I used to own a OnePlus branded phone which had the hardware to 'wake on alarm', and there was a software switch in settings to turn it off.
I have looked for a similar software switch in my Oppo Find's ColorOS and I haven't seen one.
Is this possible?


text:
Can't mount anything on a rooted android device: not in /proc/mounts
I have a rooted Samsung Galaxy S23 with Android 14 and Magisk 27 installed.
I ran adb root successfully and then proceeded to go into adb shell in which I obviously had root rights (#).
Then I ran mount -o remount,rw /data/adb/service.d which gave me the error message mount: '/service.d' not in /proc/mounts.
This always occurs whenever I try to mount/remount any root directory.
How can this be fixed?

Self-related: adb can't remount - Magisk on an Android 14 Samsung device