text:
Nexus 5 stuck on OS loading animation, pressing Volume-/Power only shows fastboot for a second, adb shows nothing
This is the normal LineageOS loading screen, which I had until yesterday:

Problem: Since yesterday, only one circle is going from right to left, forever. In other words, it never reaches the 3 circles (even after 8 hours overnight), and my Nexus 5 has become useless.
After reading Nexus 5 stuck on "flying color dots lollipop" screen after Hard Factory Reset I tried pressing Power/Volume- at the same time for 30 seconds. Result: It makes the fastboot screen appear for less than a second (during that split second I can move the cursor with Volume+/-), then the screen turns black, then fastboot for a split second again, then this boot-loop:

white Google+unlocked lock on black background, for a few second
black screen
Vibration
Back to step 1

Pressing the same Volume-/Power during the earlier "white Google+unlocked lock on black background" screen results also results in the same boot-loop.
During all of these phases (animation, fastboot, boot-loop), running adb logcat from my connected computer only shows waiting for device.
I am performing all of this with the charger plugged in. I even changed the battery to make sure it was not a power problem. To check I managed to quickly push "Power off" in fastboot and it shows the battery level: 100%.
The computer/port/cable I am using are the ones that I have been using everyday for years to transfer files and debug apps over USB. I also tried a wall charger and new cable too to make sure, same result.
The Nexus 5 is unencrypted.
After plugging the phone into a Windows computer (instead of my usual Linux), fastboot miraculously stayed on, and I was able to get the following information:
Partitions
~ # cat /proc/partitions
major minor  #blocks  name

 179        0   30535680 mmcblk0
 179        1      65536 mmcblk0p1
 179        2       1024 mmcblk0p2
 179        3        512 mmcblk0p3
 179        4        512 mmcblk0p4
 179        5        512 mmcblk0p5
 179        6        512 mmcblk0p6
 179        7       2048 mmcblk0p7
 179        8       1024 mmcblk0p8
 179        9        512 mmcblk0p9
 179       10        512 mmcblk0p10
 179       11        512 mmcblk0p11
 179       12       3072 mmcblk0p12
 179       13       3072 mmcblk0p13
 179       14        512 mmcblk0p14
 179       15      16384 mmcblk0p15
 179       16      16384 mmcblk0p16
 179       17       3072 mmcblk0p17
 179       18      22528 mmcblk0p18
 179       19      22528 mmcblk0p19
 179       20      22528 mmcblk0p20
 179       21       3072 mmcblk0p21
 179       22        512 mmcblk0p22
 179       23        512 mmcblk0p23
 179       24        512 mmcblk0p24
 179       25    1048576 mmcblk0p25
 179       26      30720 mmcblk0p26
 179       27     716800 mmcblk0p27
 179       28   28551146 mmcblk0p28
 179       29          5 mmcblk0p29
 179       32       4096 mmcblk0rpmb

Mount
~ # mount
rootfs on / type rootfs (rw,seclabel)
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,mode=755)
devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,seclabel,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,seclabel,relatime)
/dev/block/mmcblk0p25 on /system type ext4 (ro,seclabel,relatime,data=ordered)

Block names
~ # ls -l /dev/block/platform/msm_sdcc.1/by-name
lrwxrwxrwx    1 root     root            21 Jan  1 01:00 DDR -> /dev/block/mmcblk0p24
lrwxrwxrwx    1 root     root            20 Jan  1 01:00 aboot -> /dev/block/mmcblk0p6
lrwxrwxrwx    1 root     root            21 Jan  1 01:00 abootb -> /dev/block/mmcblk0p11
lrwxrwxrwx    1 root     root            21 Jan  1 01:00 boot -> /dev/block/mmcblk0p19
lrwxrwxrwx    1 root     root            21 Jan  1 01:00 cache -> /dev/block/mmcblk0p27
lrwxrwxrwx    1 root     root            21 Jan  1 01:00 crypto -> /dev/block/mmcblk0p26
lrwxrwxrwx    1 root     root            21 Jan  1 01:00 fsc -> /dev/block/mmcblk0p22
lrwxrwxrwx    1 root     root            21 Jan  1 01:00 fsg -> /dev/block/mmcblk0p21
lrwxrwxrwx    1 root     root            21 Jan  1 01:00 grow -> /dev/block/mmcblk0p29
lrwxrwxrwx    1 root     root            21 Jan  1 01:00 imgdata -> /dev/block/mmcblk0p17
lrwxrwxrwx    1 root     root            21 Jan  1 01:00 laf -> /dev/block/mmcblk0p18
lrwxrwxrwx    1 root     root            21 Jan  1 01:00 metadata -> /dev/block/mmcblk0p14
lrwxrwxrwx    1 root     root            21 Jan  1 01:00 misc -> /dev/block/mmcblk0p15
lrwxrwxrwx    1 root     root            20 Jan  1 01:00 modem -> /dev/block/mmcblk0p1
lrwxrwxrwx    1 root     root            21 Jan  1 01:00 modemst1 -> /dev/block/mmcblk0p12
lrwxrwxrwx    1 root     root            21 Jan  1 01:00 modemst2 -> /dev/block/mmcblk0p13
lrwxrwxrwx    1 root     root            20 Jan  1 01:00 pad -> /dev/block/mmcblk0p7
lrwxrwxrwx    1 root     root            21 Jan  1 01:00 persist -> /dev/block/mmcblk0p16
lrwxrwxrwx    1 root     root            21 Jan  1 01:00 recovery -> /dev/block/mmcblk0p20
lrwxrwxrwx    1 root     root            20 Jan  1 01:00 rpm -> /dev/block/mmcblk0p3
lrwxrwxrwx    1 root     root            21 Jan  1 01:00 rpmb -> /dev/block/mmcblk0p10
lrwxrwxrwx    1 root     root            20 Jan  1 01:00 sbl1 -> /dev/block/mmcblk0p2
lrwxrwxrwx    1 root     root            20 Jan  1 01:00 sbl1b -> /dev/block/mmcblk0p8
lrwxrwxrwx    1 root     root            20 Jan  1 01:00 sdi -> /dev/block/mmcblk0p5
lrwxrwxrwx    1 root     root            21 Jan  1 01:00 ssd -> /dev/block/mmcblk0p23
lrwxrwxrwx    1 root     root            21 Jan  1 01:00 system -> /dev/block/mmcblk0p25
lrwxrwxrwx    1 root     root            20 Jan  1 01:00 tz -> /dev/block/mmcblk0p4
lrwxrwxrwx    1 root     root            20 Jan  1 01:00 tzb -> /dev/block/mmcblk0p9
lrwxrwxrwx    1 root     root            21 Jan  1 01:00 userdata -> /dev/block/mmcblk0p28

Filesystem
~ # blkid /dev/block/mmcblk0p28
/dev/block/mmcblk0p28: UUID="57f8f4bc-abf4-655f-bf67-946fc0f9f25b" TYPE="ext4"

Wiping cache
~ # twrp wipe cache
Formatting cache using make_ext4fs...
Failed to mount '/cache' (Invalid argument)
Done processing script file

~ # mke2fs -t ext4 /dev/block/mmcblk0p27
mke2fs 1.42.9 (28-Dec-2013)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
44832 inodes, 179200 blocks
8960 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=184549376
6 block groups
32768 blocks per group, 32768 fragments per group
7472 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840

Allocating group tables: done
Writing inode tables: done
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done

~ # twrp reboot
command is: 'reboot' and there is no value
Failed to mount '/data' (Invalid argument)
Failed to mount '/data' (Invalid argument)
E:a
Done processing script file

Doing that cache wipe did not solve the problem, unfortunately: The OS animation has been running for 3 hours already.
Question: How to at least get the content of my Nexus 5's /sdcard saved to a computer? Or maybe even fix the Nexus if possible?

Let us continue this discussion in chat.

I guess the problem is related to cache partition. you can try to fix it with
fastboot format:ext4 cache

or from twrp recovery with
adb shell twrp wipe cache

also formatting the cache partition will help
adb shell mke2fs -t ext4 /dev/block/mmcblk0p27

You can manually backup your data (sdcard) partition. if data is encrypted, mount it with
twrp decrypt <password> where you have to use your screen lock pin/password. if you use a screen lock pattern you must translate it to password (see https://blog.alxu.ca/unlocking-large-pattern-encryption-in-twrp.html)
GNU tar for android and external MicroSD Card or USB-OTG flash drive is required for this. The tar binary is included in open_gapps.zip, download and unpack it, copy the binary to MicroSD Card and rename it to "tar"
mkdir /data
mount -t ext4 -o ro,noexec,noload,noatime /dev/block/mmcblk0p28 /data
cp /external_sd/tar /tmp
chmod a+x /tmp/tar
/tmp/tar --selinux --xattrs --numeric-owner -vcpP /data | gzip | split -a 1 -b 1024m - /external_sd/data.ext4.tar.gz.

if partition is not mountable, you can copy the partition with dd
dd if=/dev/block/mmcblk0p28 of=/external_sd/data.img            bs=1024 count=28551146
dd if=/dev/block/dm-0       of=/external_sd/data_decrypted.img  bs=1024 count=28551146

edit: (thx @ Nicolas Raoul) if your phone neither has external MicroSD Card nor USB-OTG support, you can stream the partition over adb.
adb pull /dev/block/mmcblk0p28  C:\adb\data.img
adb pull /dev/block/dm-0        C:\adb\data_decrypted.img

Open the file with OSFMount or mount it from sudo (see above command). The sdcard folder is located /data/media/0. If you want to restore the apps later on encrypted data partition, it is recommended to create a tar archive (in addition to the above flags) with --exclude data/media this will reduce the backup size. the restoring command line is
cat /external_sd/data.ext4.tar.gz.* | gzip -d | /tmp/tar --selinux --xattrs -vxpPC /

For mount -t ext4 -w /dev/block/mmcblk0p28 /data I get mount: mounting /dev/block/mmcblk0p28 on /data failed: Invalid argument

The Nexus 5 is not encrypted. I guess I can run adb.exe pull /dev/block/mmcblk0p28 mmcblk0p28.img and then mount the image on Linux as ext4?


text:
Attempting to brute force Android security pattern through TWRP via adb
Yesterday I somehow forgot the Android security pattern on my phone. Due to muscle memory I sort of know what it was, but can't figure out the true pattern. Therefore I'm attempting to brute force it to allow me to unlock the phone again.
Decrypt with pattern
Since I've TWRP recovery installed, I'm able to use the twrp decrypt 'passphrase' command for decryption attempts. I'm using a 4x4 pattern (OnePlus5, LineageOS, Android 8.1, TWRP clockworkx 3.2.3-1) for which each dot in the grid translates to a different character, you should concatenate to build your passphrase. I believe the 4x4 grid looks like this:
1   2   3   4
5   6   7   8
9   :   ;   <
=   >   ?   @

Having a line pattern from the top left to the bottom right would give a passphrase of 16;@, allowing you to decrypt your phone in TWRP using adb shell twrp decrypt '16;@'. (via)
Brute force attempt
Through this method I've attempted all possible patterns I believe could be it, but I didn't succeed decrypting it. The command always returns Attempting to decrypt data partition via command line. to stdout, and nothing else. I'm rapidly attempting each pattern one after the other with no delay, detecting whether any command output differs from the expected output (which hasn't happened yet).
Questions
Because I didn't succeed yet, I'm wondering if my implementation is correct. I don't have a phone to test with, so I have a few questions:

Does the twrp decrypt command output something else when decryption succeeds?
Does successfully decrypting create a block device at /dev/block/dm-0, which I can probe for?
Should I wait a few seconds after each attempt before probing for success?
Is there some sort of hidden timeout (required to wait 30 seconds after attempt)?
Is there another method I can use to probe for success?

Brute force tool
I did build the following tool for this brute force attempt, if that's relevant for what implementation I've used: apbf
I don't understand what is wrong with this implementation. It does not seems to properly decrypt the phone, making me wonder if the key could be corrupted.
I'm currently rebooting recovery after reach attempt, but that takes a lot of time for 1400 possible patterns. I'd like to be sure the attempt isn't useless.

Since I do know the approximate pattern length, am certain only the two right columns are used, and know that the dots in the pattern never have a distance greater than 1, I can greatly reduce the pattern search space and limit the possibilities.
Encryption is enabled on the phone, I believe it's file-based. When in TWRP, the /data/data and /sdcard directory seems to list encrypted file names.

Your doing something pointless...

Wipe the DATA of the Lock Screen application and your done.

@Zillinium sadly that doesn't work, it seems the encryption key for /data is protected by the passphrase. It worked back in the day, but not anymore. Correct me if I'm wrong.

Not sure actually... It sounds like part of the Oreo Forced Encryption...

This was extremely useful for me, as I am in the same exact boat.
For anyone else in the same area, here's how to do a bash loop over 0 to 9999:
adb shell # to get in to the device \n
for i in $(seq -f "%04g" 0 9999) \n
do \n
echo $i \n
twrp decrypt $i \n
sleep 30 \n
done \n
(EDIT: Replace \n with linebreaks to view this properly...)

After a while I figured out what the problem was, with a freshly flashed phone. Here I'll be answering my own question.

Does the twrp decrypt command output something else when decryption succeeds?

Yes, it outputs something like:
Attempting to decrypt data partition via command line.
Data successfully decrypted
Updating partition details...
...done

Does successfully decrypting create a block device at /dev/block/dm-0, which I can probe for?

No.

Should I wait a few seconds after each attempt before probing for success?

-

Is there some sort of hidden timeout (required to wait 30 seconds after attempt)?

Yes, very important! About 10 seconds. Consecutive attempts within that time frame fail with no warning whatsoever.

Is there another method I can use to probe for success?

-

So, consecutive attempts to invoke twrp decrypt must have at least 10 seconds between them or else they will fail. So, the only thing that was wrong with the developed tool, is that I didn't implement this timeout.

interesting workaround! did you successful decrypt your previous data?

Sadly, no. Because I had already been attempting for many hours I just wiped my phone, and tested the tool afterwards with a pattern I knew was right. That's when I discovered the timeout. If I'd known this before, I would have been able to decrypt the previous data, yes.

source: Stack Exchange

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

sort: votes


text:
Can I change the icons used in the quick settings?
I have a new phone, and the icons in the quick settings are ugly in my opinion.
Can I change the icons used here easily, and if so how? (I see similar icons in the normal settings, i am happy if those change as well).
Andoriod 7.0

You can find a substratum theme with your choice of icons and use it. Search them on Play Store. Requires a rooted device though.

Not got a rooted device, and it sounds like more effort than its worth for changing those icons.

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


text:
TWRP only allows flashing into either the Boot or Recovery partitions
I'm trying to flash a Pixel Experience GSI onto my 2017 Samsung (SM-J730G) using TWRP. In order to do so, I need to flash the GSI's system.img into my device's System partition. However, my TWRP only allowed me to flash into either the Boot or Recovery partitions. The other options I see in other phones (System, Vendor, Preload, etc.) are nowhere to be found.

This sounds very device/ROM specific as this not the "normal" way to install a ROM image. I would highly recommend posting in the thread you linked above for assistance as it appears to be quite active. That said, this is Treble ROM and your device does not appear to be Treble compatible.

My device just got unofficial Treble support. This resolves my issue.


text:
How to root Samsung Galaxy S10/S10e/S10+
Samsung Galaxy S10 unfortunately comes up with apps that I don't need:

Unfortunately [...] the South Korean smartphone maker decided to bundle tons of apps inside the firmware of their flagship phone.
Majority of the bundled apps inside S10 are part of the Samsung ecosystem, although third party apps like Facebook can also be found there. Some of them can be disabled from the Settings, but not all.

I also want to use a few root-only apps, and need write access to /data/data/ for backup/restore purposes.
Question: How can I root my Samsung Galaxy S10e as easily and risk-free as possible?
(I generalized the question to all S10 variants, but please let me know if methods differ enough that separate question are required)

there is nemesis kernel meanwhile, no need for pressing buttons on boot

I had never heard of this, but it sounds interesting! Feel free to propose an answer :-) Unlike Magisk it does not look open source though?

I managed to root my Samsung S10e using topjohnwu's Magisk-based work. Here is the procedure, it also works for S10 and S10+:
https://topjohnwu.github.io/Magisk/install.html#samsung-system-as-root
The procedure is rather complex, but fortunately a YouTuber has made an easy-to-follow video:
https://www.youtube.com/watch?v=o3a8YnWT3yk
The video is directly based on John's instructions, so I recommend reading/watching both before each operation to make sure you understand correctly before executing.
The only drawback of this method is that when you want to reboot your device, you will always need to press simultaneously Bitxby+Power+Volume Up until the logo appears. If you boot normally, it will start normally but you won't have root.
Dedicated xda thread (including donation links for John): https://forum.xda-developers.com/galaxy-s10/development/magisk-root-galaxy-s10-series-t3918699

Perhaps unrelated (and a subject for an full blown SO question) but how do you in fact OEM Unlock a device when this option is not available at all in dev options? I've seen too many to count "guides" out there and NONE address this issue. Are you aware of a tool/software/terminal incantation that will enable OEM unlocking a device that won't show it in the UI (and actually works?) Many thanks!

@AlexanderF: Is your question for a Samsung Galaxy S10/S10e/S10+ device?

Indeed @Nicolas. Mine is S10e.

@AlexanderF: Interesting! For me OEM unlocking is between Enable Bluetooth HCI snoop log and Running services. Could you please create a new question, including a screenshot of developer options? Thanks!


text:
Google playstore showing "similar app available here" in green bar
Many apps like Facebook, Linkedin have two versions. One small and one full version. When you go to playstore and navigate to any of these apps you see "similar app available here" written below app logo and name in green background.
On what basis does google playstore (android app, web version doesn't show such thing) show this?
https://play.google.com/store/apps/details?id=com.facebook.katana
https://play.google.com/store/apps/details?id=com.facebook.lite

Why it does not show whatsapp and whatsapp business in similar fession?
https://play.google.com/store/apps/details?id=com.whatsapp
https://play.google.com/store/apps/details?id=com.whatsapp.w4b

To what I know, Play Store only suggests lite versions of the apps under this current setup. The lite versions of Google apps (at least) were originally developed for Android Go smartphones. But then Google decided that users of standard Android smartphone might also wanna try the lite versions.
So, you get app suggestions for YouTube, Google Maps, Facebook, Messenger etc. WhatsApp isn't shown since WhatsApp doesn't have a lite version.
The current setup is only there to push a lighter (and faster?) version of the same app. Its intention is not exactly to give you similar apps. Similar apps are offered later on, at the end of the app description.
Yeah the wording could have been better, but Google is the boss. Maybe Google will expand the functionality in the future to get something like what you're expecting in the latter part of your question.
Edit: From the source (in comments), it does look like Google is also suggesting a bigger version of the app when you're browsing the lite verison. Still, my answer stands relevant as it is only doing the juggling between lite and standard app and not exactly doing similar/related apps.

Can you please share some link from authoritative source just to confirm your answer

Google hasn't officially published such information. It is just observed and understood. So, the answer was based on what I noticed. Here's a relevant source which I was able to find: https://www.androidpolice.com/2018/04/24/play-store-now-recommending-lite-apps-users/


text:
Pixel 3 / 3 XL icons change
Is it possible to change the pixel 3 / 3 XL icons to 3rd party icons on the stock launcher?
I understand its possible to change icons sets by installing new launchers. However, I would like to know if its possible to change icon set in stock launcher which comes with Pixel devices.
Thanks.

For the moment you camt. However, there is a modified version of the Pixel launcher, Rootless Launcher that can use icon packs

Features:

Search bar at the bottom
Wallpaper based theme selection
Regular Icon Packs
Adaptive Icon Packs, such as my Google Icons
Icon Shape selection on Android 8.0


text:
Ignore all those "free" wifi access points
This has probably been asked before but I was unable to find anything relevant with searches.
My problem is, I can be using my phone with my almost unlimited 4G data, quite happily, but if I pass too close to a place offering "free" wifi, or if a bus with "free" wifi on board passes me, all of a sudden I get redirected to  a "You must sign in.." page.
I don't want  to sign in, I don't WANT to use their "free" wifi. I want to continue using my 4G data, without having to go through the rigamarole of disabling wifi every time I leave the house. I want it to IGNORE those "free" wifi things.
Can this be achieved in any meaningful way?

Which Android version? Check your Wifi settings (disable notification for free Wifi networks) and delete all saved Wifi networks you don't want t connect to.

Not exactly what you want, but if you don't mind keeping location enabled all the time, you may set up a Tasker profile to disable wifi when you leave the house.


text:
fastboot check password failed
I try to unlock OEM, using command fastboot oem unlock. My device is Huawei MediaPad Т5 tablet. I got the error:
...
FAILED (remote: check password failed!)
finished. total time: 0.014s

Why?

You need a unlock code from Huawei. Unfortunately they do not provide unlock codes anymore. Your only chance is buy one from third party seller


text:
USB Tethering in host mode
Using Android 9 running on a Quectel SOC with 1 USB port, I want to share the Android SOCs internet connection via ethernet over USB with another system (embedded Linux), but also allow USB host functions such as communicating with USB storage etc via a USB hub interface. Is this fundamentally possible (even if some AOSP modification is required on my part)?
From what I understand, native support is offered for the Android SOC to provide ethernet over USB as a USB device. What I want to achieve is provide ethernet over USB (and provide internet connection to peripherals) as a USB host. Is this support natively provided?

What device type used the Quectel modem when connected via USB (e.g. a virtual Ethernet network card)? Anyway small Cellphone-to-Wifi routers are usually the simpler solution.

@Robert I'm not sure I understand your question. I believe the Quectel modem when acting in the USB tethering mode represents a virtual ethernet interface. I will update the question with more info to counter your suggestion.

Sorry I was totally confused by your question as I never heard of a modem running on Android. I am not sure if Android in embedded devices is really on-topic here - or does it has a screen with a UI like a smartphone?

No problem! Yes it has a UI and a screen and is effectively a smartphone. I will update my question again, as the term "modem" is a misnomer. It's an SoC.

I am not sure if this is the correct forum for this kind of question, as it gets into the technicality of the Android Linux Kernel USB support currently offered. But as I am working with AOSP on the whole and interfacing with an embedded Linux device, I thought that this might be the correct place.


text:
Stuck on “Downloading… Do not turn off target!” when trying to boot via adb on Samsung Tab
I wish to flash a custom ROM on my Samsung Galaxy Tab A. To do this, I downloaded ADB and TWRP-3.2.3-0. when I run the command adb reboot bootloader, my tab gets stuck on downloading... do not turn off target.
I know how to get out of this screen (power + vol- + home), but how can I get past this screen so that I can flash TWRP?


text:
Xiaomi blackshark android 8.0 can't connect to LAN Ethernet
ill buy LAN adapter with usb c to connect LAN directly to my phone but it is not working. What possible to do

Similar question: https://android.stackexchange.com/questions/103506/can-i-connect-my-android-phone-to-the-lan-via-an-ethernet-cable

If or if not external USB device like an USB2Ethernet adapter works is device dependent, not Android dependent.
If it is supported you will find some mention of "Ethernet" in the Android network advanced settings. If not it may work or not. If it does not work your device is most likely not capable to use such devices.
Unless you plan to root your device and install a custom ROM that has USB2Ethernet OTG support there is nothing you can do.


text:
Call Recorder Software Not Working
I have installed automatic call recorder on my smartphone. The problem is that it really works fine for a couple of days or so but after that it automatically stops recording. But when I open it, then it again starts recording automatically. I have repeatedly re-installed the app but the response is the same. What can i do in this regard to keep recording going?

Have you exempted it from battery optimization under Settings app?

No i haven`t looked at that


text:
Fresh install of OS+Firefox and now there's a persistent notification
I just reformatted and reinstalled things on my phone to fix some issues.  I installed Firefox from apkmirror and now there's a mostly persistent notification that shows up when I go to certain sites (The Guardian and AJC were two that it popped up on).  There was a mention of a playback queue wen I was experimenting with closing the notification, so it seems video related.
I used Android 6's notification manager to block all popups, which is the nuclear option.  I can't think of a reason why I'd want a notification from Firefox, but I could not find a way within Firefox to disable the notification.
What is this new anti-feature called, and how are you supposed to disable it within Firefox?
OctOS M (Android 6), Firefox firefox_67.0-2015628937_minAPI16(armeabi-v7a)(nodpi)

I found the same topic on Reddit and seems it's called "Media playback" notification, but the solution might only work for Android 8 Oreo. I'm not really sure if per-site notification is related.

Why is there this idea that it's OK to bombard the user with notifications and popups and toolbars until they have to buy a new device?  It seems like it's a never ending battle...


text:
Text to speech on Android
I went to the Play store to search for a text to speech app. To my surprise, it said I already had one: Google Text To Speech, and that it was probably already on. Sure enough, in settings, there it was. But not a word - zero - about how to use it, or point it to any arbitrary text, and have it start reading.
I found this post which lauded what this app can do - but using it, controlling it? No joy. Then I read in this article about Read Aloud, a Chrome extension. Apparently, Google TTS, despite the name, is NOT used to read text?! I guess it doesn't matter if there is no way to control it. So I got Read Aloud, after checking that it works on mobile and not just desktop.
Supposedly, you can control it from an icon. But after clicking the button, did I see an icon? No, of course not. People, what am I missing here? I just want to use my phone to read arbitrary text. How do I make that happen? Thank.

Just to clarify, Google TTS is just a TTS engine. It can be used by any apps (including accessibility service) that need TTS service, but the engine itself won't run without those apps. On the other hand, there are other TTS engines than Google's one which can be used as an alternative choice, but still... they need necessary apps to run.

Go to Settings -> Accessibility. Make sure that "Select to Speak" is enabled. Then, an icon will appear in the screen.
If you don't have "Select to Speak", download and install Android Accessibility Suite. "Select to Speak" will then be listed among the accessibility services.
To read a text aloud, press the icon, select the part of text you want to read. You will then hear it. You can change the speech rate and pitch by going to Settings -> Accessibility -> Text-to-speech output


text:
Not seeing Assistant icon in search box
I have two phones. Both are Moto X4 running Android 9, with the same variant and security updates.
One shows the classic Google microphone icon in the search box. The other shows the Assistant icon.
All apps are up to date via the Play store. Both accounts have the Google Assistant enabled, and it displays when the home button is long pressed. The only difference I see is in the Google account to which each device is registered.
How can I get the Assistant icon on the top device?
Note I have also tried clearing data for the Google and Google Play Services apps, to no avail.

Does the location (country) of Google account is same on both devices? Also Google app version. Moto X4 has android one and regular android devices. Check whether both are same. Android one has more stock Google features, that it may be with assistant I think.

@RahulGopi Yes. Both are US and US English. Both devices are the same Android variant, neither is Android One.

And service provider?

@RahulGopi The phones were both purchased unlocked.


text:
Screen Brightness accidently set to dimmest (blank screen) Android-x86_64-8.1-r1
I installed Andriod-x86 on a tablet and was happy with the results untill I changed the screen brightness setting. It accidentally got set to zero brightness. Now the GUI is not obtained when android boots. For last few hours trying to set brightness in debug mode with no success so far.
I am not able to connect wifi in debug mode either to doenload and try other tools as suggested at some forums. Hope you can help me.

Do you have a custom recovery installed, such as TWRP?

I did not know before your comment that there exists such a thing as "Team Win Recovery Project". Wonder what are my options now?

Are you confident that you can unlock the device once its booted?  You could go find a similar tablet, boot both at the same time, and perform the same actions in the same relative screen area on each - that is, navigate to settings via the non-blank-screen tablet while touching the same areas on the blank-screen tablet; essentially mirroring the touch targets.

Thank you for the suggestion. My father restored the display for me doing the suggested blind clicks.

This method requires adb:
With your device plugged in, issue a screen brightness change request:
adb shell settings put system screen_brightness 255

The number at the end of that command is a number from 0-255, where 0 is dimmest and 255 is brightest.
Note: if the above command doesn't work, you might have to issue this commend first:
adb shell settings put system screen_brightness_mode 0

adb does not work either on android-x86.

Thank you for the link. So this is a client server connection and the command is sent remotely. I had been issuing it on the same machine. Will check it tonight after work.


text:
How to fix bricked Samsung Galaxy S4 GT i9505
My journey started when i decided to start playing around with things that i don't have experience with. I tried to enable usb debugging by flashing some file with Odin that was supposed to enable it but the phone started rebooting. Then i red how to fix it and i downloaded stock rom and i flashed it but this stuck me to the startup logo. I tried a software that was supposed to fix bricked phones FonePaw (Might be a scam programme but clearly did something because the phone tried to start with recovery mode). Then i tried to flash another rom because i thought that the first one might be bugged but the problem is still there. I also tried to flash TWRP but it didn't worked (Odin finished successfully but i couldnt use it). Now i'm at stage where the phone is stuck to startup logo. I can't go to recovery mode but download mode is still working. I have no experience with this so i'm wondering if it's even possible to fix the phone.
Thanks in advance!

Is there any important data you care about?

No this is my old phone.

Then it's easy. Just follow the official guides

Can you point me to them because i followed many guides and i'm not sure what will work. Thanks!

Wiki: https://twrp.me/samsung/samsunggalaxys4internationalqualcomm.html
XDA: https://forum.xda-developers.com/showthread.php?t=3742880
Download: https://dl.twrp.me/jfltexx

Wiki: https://wiki.lineageos.org/devices/jfltexx
XDA: https://forum.xda-developers.com/galaxy-s4/i9505-develop#romList
Download: https://files.moskvich.xyz/LineageOS/14.1/jfltexx


text:
How do I go back to the old tab switcher on Chrome?
I don't know when this happened but in the latest version of Google Chrome for Android, I can't swipe down from the 'open tabs' button to get the card UI of all open tabs and switch to or close the tab I want.
What I see now when I swipe down from the 'open tabs' button is an ugly list containing a list of all open tabs and it always starts at the top so I have scroll all the way down to close the most recently opened tab.
Does anyone know how to go back to the way it was? Maybe there's an experimental flag I could enable or disable?

Found the answer: Disable 'Simplified view for open tabs' in Chrome settings -> Accessibility. Source: Reddit


text:
ADB does not recognize device (LG X Charge)
I am not able to get adb to recognize my device. Here is my setup:

USB debugging is enabled under Developer Options
Use USB Connection for File Transfer (Transfer Documents and media files to the connected device)
In device manager on Windows 10, under Portable Devices I see LG-M322. I have tried right-clicking on it -> update driver -> browse my computer for driver software -> C:\android-sdk\extras\google\usb_driver -> Next. It says the best drivers for your device are already installed. screenshot below

But when I run adb devices I don't see my device:
C:\Users\me>adb devices -l
List of devices attached

I have tried killing the server many times as well as unplug the device and connect it again. I am able to transfer files to the device using windows explorer.
My phone is running Android version 7.0. Build number NRD90U. Software Version M322V10n.
How can I fix this please? I have tried similar posts and tried all the things they mention (the bullet points above).

On your device, while it is plugged in, can you tell me if you see a USB options notification?  You should be able to select this notification and choose between some options like; File Transfer, PTP, Charge Only, ETC...

Yes that is bullet #2 in my question. I have selected File Transfer

If you want your device to show up when you type adb devices, you don't want "file transfer" selected.

changing the USB Mode to Photo Transfer worked
C:\Users\Downloads>adb devices
List of devices attached
LGM322c17168b6  device


text:
Password to ssh connec to termux
I tried to test ssh on termux  which prompt of the password

At temp my screen lock number but failed.
What's the password?

You need to use the passwd command to manually set one.
When invoked dirently, it doesn't ask you for your previous password and just sets a new one:
~ $ passwd
New password:
Retype new password:
New password was successfully set.
~ $

The you can SSH into Termux using this password.
However, I recommend using an SSH key after you're all set.

In order to work you have to install openssh.


text:
Battery was once swollen, but is now normal
My tablet (specs below) has a swollen battery, but is now normal (back to its normal size).
It was swollen many years ago, so I just left it.  Now, I just found it and it is now unenlarged.
I don't find anything about it in the internet upon searching about it.  The device also doesn't have a removable battery.
I am worried that if I charge it, it will explode.
Is it safe to charge and use now?

Device: Samsung Galaxy Tab 3 10.1 GT-P5210
Android: 4.4 Kitkat

It is not worth risking your life and limb for a battery.

Sure nobody will recommend use of outgassed/leaking batteries here.
https://batteryuniversity.com/learn/article/safety_concerns_with_li_ion
But did you think about replace it?
don't buy this, just watch (can get it for 15 bucks in my country)
https://youtu.be/humtforaj2w

Technically, this is just an update of what happened to my device, but this can also be the answer to my question: "Is it safe to charge and use now?"

We took the device to a repair store. They tried to charge the battery, but the battery won't charge. Also, the battery didn't explode when it is charging.
They opened the back of it, and they saw that the battery is still a little bit swollen.
They said that the cause of this is leaving the device for a long period of time, just like what I said in my question:

It was swollen many years ago, so I just left it. Now, I just found it and it is now unenlarged.

They also said that we should replace the battery to use it.

So, to answer my question:
1. Is it safe to charge?

Probably yes? They charged it, but nothing happened. I just don't know if it will explode if I charge it for a longer period of time.

2. Is it safe to use now?

Well, this doesn't make any sense as the device doesn't have power for it to run. But, if I already replaced the battery, then yes, it is safe to use.

Um... What's with the downvote? It would be better if you explain to me what's wrong, so that I can improve it.


text:
Reload IMAP folder list in K-9 mail
Recently I changed the folder structure of my E-Mail account, actually merging a lot of them. K-9 didn't realize the changes. It neither added new new folders nor removed those, no longer existing.
Pressing the refresh button in folders view seems only to refresh the mails, rather that the folders.
How can I achieve a re-read of the account's folder list?

Go to the list of folders by clicking on the folder icon next to the IMAP account listed under the Accounts view. That's your list of folder's you'd like to update. Tap the three dots in the lower right. There should be an item called "refresh folder list."

Well, to my shame, that was too obvious for me to see it. Many thanks Jacob

Had the same issue, figured it out and couldn't leave you hanging.


text:
Decrypting microSD card on another Android device or desktop computer
I'm looking for a solution that would allow to encrypt external microSD card with the following conditions:

external microSD card is not merged with the internal storage;
encrypted external microSD is mounted upon booting automatically;
content of an encrypted microSD card can be viewed in another Android device and Windows/Linux PC if the smartphone where this card has been used was physically destroyed beyond repair.

The motivation behind these criteria stems from my workflow on a desktop computers.
All of them have both system and storage drives fully encrypted with VeraCrypt.
I set them up in a way that I enter a password upon booting once, and all the favorite volumes are automatically mounted and I boot into fully functioning system.
On the other hand, if for some reason I cannot boot anymore (e.g. missing or corrupted system drive), I can take off the encrypted data drive, plug it into any other machine running Windows/Linux/MacOS with installed VeraCrypt and decrypt my files in no time.
However, I cannot achieve the same with the default encryption offered by Android.
To encrypt the SD card, one must merge it with the internal memory, and if the device fails to start, there is no easy way to recover/decrypt my data from the external card.
I searched Google Play and couldn't find any third-party app similar to VeraCrypt.
There are related topics, but I couldn't find an answer in any of these either:

Decrypting Encrypted Micro SD Card without phone
How to decrypt Adopted Storage?
How to decrypt a microSD card after a factory reset of the device used to encrypt it?

I'm using a rooted Moto G5s running Android 8.1, but a vendor-independent answer would be more preferable.

Are you looking for a non-root solution or just for rooted devices?

maybe here is what you looking for? https://alternativeto.net/software/luks/?platform=android
android is basically linux. you can compile your own static binaries for arm architecture with Linux Deploy
https://www.google.com/search?q=cryptsetup+android

@alecxs Personally, I all the devices I use are rooted. If the there is a solution for the non-rooted smartphones the community can benefit from, this would be ideal.

@alecxs I've been thinking about LUKS and I even used an app called LUKS Manager (or something similar) around 2012-2013, but then the development was seized. I'm also not sure how robust using LUKS on Android would be, e.g. I suspect a lot of things might break if I decide to upgrade to the next Android version, or flash another ROM; feel free to correct me if I'm wrong.

as long as you keep all your scripts and binaries together, it should be possible to adapt. common init.d folders are /data/adb/post-fs-data.d /su/su.d and for executable binaries /data/adb/magisk /su/xbin

@alecxs This sounds quite complicated to me. Also, I don't know how to handle LUKS-encrypted volumes under Windows; programs such as FreeOTFE, LibreCrypt or DoxBox all appear to be abandonware. However, if there is no easier solution you can think of, free to post an answer (probably elaborate a bit more on a scripting side).

from VeraCrypt site: https://play.google.com/store/apps/details?id=com.sovworks.edslite

If you have a rooted phone, EncFS is a simple solution that I have been using on my K and L devices for years to use (physically) external SD card as public external storage (/sdcard) by Disabling Internal Memory (DIM). Also it's quite easy to do incremental backup of some encrypted directories like DCIM to cloud (such as with rclone). It does have multi-platform support. All you need is a kernel with FUSE support, an encfs binary and an init.d script.

@IrfanLatif Interesting, I've never heard of EncFS before. I did a brief research and it looks like one requires to use Cryptonite app for managing encrypted volumes with FUSE, but it's been taken down from Google Play. As for the kernel support, I should look deeper into what is offered for my Moto G5s. In the meantime, feel free to post an answer based on your comment – just probably add some more details, if possible, or just describe your use-case for newbies:)

I don't know of any GUI solutions that fit your needs but can share something about working CLI solutions.
DISK ENCRYPTION:

external microSD card is not merged with the internal storage

You are talking about Android's Adoptable Storage. Actually it's not merged (like in case of LVM), it's just decrypted and mounted as a separate filesystem. Android starts emulating /sdcard from /mnt/expand/[UUID] which otherwise is from /data/media/. Additionally some apps are also movable to this newly adopted storage. In case of FDE (based on dm-crypt), key is stored at /data/misc/vold/expand_*.key, which can be used to mount the SD card on any OS running Linux kernel (including Android). All that you need is dmsetup. See this answer for details.

content of an encrypted microSD card can be viewed in another Android device and Windows/Linux PC

In case of Adaptable Storage you can backup the master key to some safe location so that it could possibly be used in case device is wiped or no more bootable. Or if you don't want to go with Android's native encryption, you can manually setup dm-crypt FDE (plain / LUKS) on SD card using cryptsetup.
FILESYSTEM ENCRYPTION:
Recent versions of Android mostly use FBE which is based on Linux filesystem-level encryption (for ext4 and f2fs). It doesn't use a single key, instead the master key generates per file keys on the go. On Android encrypted master keys are saved to /data/misc/vold/user_keys/. Device Encrypted (DE) and Credential Encrypted (CE) storages make it further complicated. Also FBE with Adoptable Storage doesn't work on Nougat and Oreo, and doesn't look very stable on Pie. So it's not a very reliable option at the moment.
It's also possible to manually setup FBE using fscrypt (or e4crypt/f2fscrypt) tool provided that your kernel supports it. But again there are multiple issues with the implementation in userspace as well as in kernel space particularly related to key management. So it's again not a very feasible option.
fscrypt is most probably going to replace ecryptfs; another Linux kernel's native feature. It's a stacked filesystem which can encrypt any other filesystem. But fscrypt (per-file encryption) “is more memory efficient since it avoids caching the encrypted and decrypted pages in the page cache”. You can use ecryptfs too on Android if kernel is built with CONFIG_ECRYPT_FS.
FUSE-BASED ENCRYPTION:
All of the options discussed above are native to Linux kernel, so won't (or at least very badly) work on Windows (sorry I have no experience with Mac). However you can go for FUSE-based solutions which have more or less support on Windows as well. E.g. encfs and gocryptfs are stackable cryptographic filesystems; more useful in situations like incremental backups.
If you want to stick with veracrypt, that also works perfect, performs even better than on Windows if combined with dmsetup to make use of Linux kernel's native cryptographic services.
Another FUSE-based solution dislocker can decrypt Bitlocker. But FUSE over FUSE may exert performance penalty, so should be avoided with right choice of filesystem drivers.

encrypted external microSD is mounted upon booting automatically

You won't find an option with graceful GUI interactions to enter a password upon booting because unlike Linux there is no terminal login or crypttab or PAM. User interaction is only possible by developing an auto-starting app, which won't be up before zygote/system_server and all (native / Java) services are fully running. Or you may try to hack Android framework's SystemUI package to get the same credentials asked through UI (in case of FDE/FBE).
A simple approach would be to put an init.d script or create an init service. This should work with any of the methods described above. This answer can be helpful. I have been using EncFS to extend my external storage on K and L devices (details here). SD card was mounted by an init service, password was saved to /data partition which was in turn FDE encrypted.

NOTES:

Encryption methods described above cover all commonly used filesystems including FAT, exFAT, NTFS, ext4, f2fs etc.
If not using Adoptable Storage, better create two partitions on SD card to let vold service mount first partition on boot. First partition can be of a few hundreds of MBs. Use second partition for encryption.
Command line applications used for encryption are available here for Android.

RELATED:

Cross-platform compatible encryption of SD-card for Android


text:
Android 9 recent apps... How to make them reasonable?
I upgraded my phone to Android 9/Pie and I can't stand the 'new improved' recent apps list which takes ages to scroll through.
My phone is Motorola G6.
What is the easiest and surefire way to get the old style (or some other style, e.g grid) back?
From what I've searched, it seems pretty complicated.
Either uninstalling the stock launcher using ADB - but I'm not sure if this makes a difference on my phone (people report it works on OnePlus, Pixels and Samsungs).
The other option I found is this https://forum.xda-developers.com/apps/magisk/module-quickswitch-universal-quickstep-t3884797/ but I have no clue where to start with that, and it's clearly stated this method does not work with Nova Launcher which I'm using.
I'm not afraid to mod the phone safely but if it's gonna take me a week to learn what to do exactly, I'll rather just revert to Android 8.
Thanks.

You should check whether your device supports version downgrade. Some devices get bricked which do not support downgrade.

Damn. I didn't realize... Resetting the phone to factory defaults doesn't revert to whatever Android it was on first boot right?
OMG I hate Google now.

No, it does not. Factory reset only deletes user data, not the system updates.

With "new improved recent apps list" you are referring to the recent list where you have to scroll horizontally and each app is displayed as screen in ~70% of the original size, side-by-side, right?

Robert: Yes, that. It's work of the devil, no exaggeration. It literally hurts my thumb to scroll horizontally that much, and hurts my brain trying to figure out who could think this would be an improvement. Some sadistic experiment this is. Pie has many unbelievably annoying features, such as the AI brightness which doesn't work at all, the artifficial notch without notificaton icons, but the recent apps list takes the cake.


text:
Odin stuck at "File analysis"
When I press "Start" in Odin3 3.13, the log just says:
<ID:0/006> Added!
<ID:0/006> Odin engine v(ID:3.1.1301)
<ID:0/006> File analysis..

Then it is stuck forever, with the desktop computer's CPU constantly at 30% and 0% disk usage.
The same happens regardless of whether I start Odin then connect my device in "Downloading" mode, or whether I connect my device first and then start Odin.
Question: How to solved the problem, and successfully download the patched firmware?
My configuration is:
- AP: magisk_patched.tar produced by Magisk from the Samsung Galaxy S10e firmware AP_G970FXXU1ASD5_CL15820661_QB23234096_REV01_user_low_ship_meta_OS9.tar.md5
- Options: Disabled Auto Reboot, so that only F. Reset Time is left enabled.

your magisk_patched.tar might be corrupt

... or maybe carrier/region of used rom does not match. try another one. at least (without warranty, might be a scam) there is a patched version of odin which ignores some checksums https://www.xda-developers.com/samsung-galaxy-s8-note8-bootloader-odin
https://forum.xda-developers.com/showthread.php?t=3762572

@alecxs: Thanks! I had picked a region without thinking. Now I found out the CSC of my phone using https://play.google.com/store/apps/details?id=org.vndnguyen.phoneinfo so I am downloading the matching country's ROM at sammobile.com. I will let you know whether it works :-)

@alecxs: I downloaded (from sammobile.com) the ROM for my phone's region, and... turns out it is binary equal to the one I had tried yesterday. So I guess it will not help.

I did 3 things, tried again, and it worked (I mean it got past File analysis). I am not sure which one of the 3 things did the trick, unfortunately. You might want to try them all.

Run SAMSUNG_USB_Driver_for_Mobile_Phones.exe
Use a different USB port, for me COM7 instead of COM6.
Get the ROM for my phone's region. It is binary equal to the file I tried yesterday, though, so I doubt it changed much.

i found that you must use the correct version of odin. For example, if your md5 file made in year 2015, you need to use the same odin version of the year 2015 (odin v3.07)
Try this by myself and it works. May work for your phone too.


text:
How to add the flashlight toggle in the notification panel on my non-rooted SM-N900A
I'm trying to add the flashlight toggle in the notification panel on my SM-N900A (Android 5.0).
And so far, I've found the Notification Toggle app
 that adds toggles to the notification bar.
But I want to add the flashlight to the notification panel.
How can I do that on my non-rooted SM-N900A ?

That feature you are looking for was introduced  in Android Nougat. Your only option seems to be to root the device and find an Xposed module to add that feature.

@Firelord It has Android 5.0, btw. Does it change anything to your conclusion ?

No, it does not.


text:
Google's Huawei ban, how will this hit Huawei, since Android is open source?
So, with the latest news of Google blocking Huawei from Android updates, what does this actually mean?
Since Android is open source (via AOSP), Huawei should be perfectly able to continue using Android, and even create their own derivative from it, as the article says.
The only thing that Google could do, is disallowed their Apps suite, with the Play Store (as again per the article). But Huawei should be in a strong enough position to build their own app store and provide their own apps. (Could they use Open GApps?)
In the end, this will force Huawei into a position as a strong competitor to Google, especially, but not exclusively, in their China home market.
So, how should this ban actually hurt Huawei?
Notes:

To keep this question focused on Android, I explicitly exclude the use of what Huawei calls their "Backup OS", but just focus on which parts of Android could be "banned".
Also, I would expect answers to apply to any Android phone manufacturer, not Huawei specifically (Or is there something special about Android on Huawei devices I did miss?)

Building you own store is easy. Plenty of stores are out there. Building replacement APIs of Play Services (a plethora of useful apps are dependent on Play Services APIs, including the safetynet API upon which financial apps depend) can be very hard. And that wouldn't guarantee a smooth user experience either. Huawei furthermore cannot build an app ecosystem around itself. Microsoft with millions at disposal tried to build the app ecosystem for Windows phone, and then packed up from this business a few years later.

XDA has a good article here: https://www.xda-developers.com/google-revoke-huawei-android-ban-blacklist/

@Firelord A great article indeed. But I still have a hard time understanding why they can not simply go the ASOP+EMUI route, even without preinstalled GApps. Installing OpenGAPPS with LineageOS was easy enough for me, with a little help this should be doable for anyone.

"with a little help this should be doable for anyone." I know some non-tech-savvy users who don't understand and are afraid to even touch the Android's Settings app... I'm not sure if they are comfortable enough to access Recovery mode and flash Open GApps...

I was asking myself the exact same question. Does anyone know what is the procedure for a vendor to ship its Android version with the playstore pre-installed ? (because I guess that's what their collaboration with Google leads to. It's to have access to the playstore, hence all the Google apps)

@ArthurAttout This is a good question - I suggest you just ask it separately.

Its been 2 years since this post, I had a similar question and was redirected to this post. But there are not much details in this post. If anyone has any new info about this then please do share them. Anyway I am gonna do a bit more research on this buy I hope @Marcel has some more insight about this by now.


text:
Initial setup: Google Assistant isn't available for this account
Getting the following error when I try to active my new One Plus 7 Pro,

The Google Assistant isn't available for this account
The Google Assistant needs Activity controls that your device administrator has limited on this account. Check with your administrator or switch accounts and try again

You used to be able to skip this step and simply not set up Google assistant, but it seems like that's no longer allowed? Getting the same on a Galaxy S10.

What I had to do was

Log into https://admin.google.com
Click "Apps"
Click "Additional Google Services"
Click "Web & App activity"
Select ON For Everyone
Confirm

in my situation this did not help as it was already set to that :( any other ideas out there?

I didn't have "Web & App activity" and it wasn't in the list to add.

Here is a direct link to the Google Admin page: https://admin.google.com/AdminHome#AppsList:serviceType=ADDITIONAL&appsFilter=ALL&ca=NONE


text:
Does OnePlus support removing NetFlix?
I noticed that my new OnePlus 7 Pro has Netflix preinstalled. This is awkward being the phone is so much more than prior models, and OnePlus has always prided itself on not shipping bloatware. Is it possible to remove Netflix from the app-list and as an installed application without rooting the phone? I have the option to Force Stop and Disable, but neither of them give me the ability to uninstall,

I see Netflix and OnePlus announced a partnership in 2019. Does that mean we're locked into having Netflix stuff installed on OxygenOS?

Why not just disable it? Space isn't typically an issue in modern high end phones, and in most cases if you "uninstall" system bloatware it is really just hiding it anyway because it returns on a factory reset

That screenshot suffices to say that the Netflix app is a permanent bloatware. A permanent bloatware has Disable option instead of Uninstall option. Furthermore, it is not the only bloatware. Many folks consider Google apps as a bloatware too. Regardless, your only choice to get rid of that bloatware permanently is to root the device and delete its APK. Otherwise,  because Disable option is available it should work for non-roted users. However, If you are keen to uninstall the app without root, you can use adb but do know that the app would return after a factory reset. Follow the link here for that method.


text:
How to update the software of an unrooted device? (Error Message)
My device is recently unrooted, so I decided to update the software of my Samsung Galaxy Tab 3V (SM-T116BU) but this error message (The operating system on your device is modified in  an unauthorized way...) always shows up each time I tried to update the software even though I have unrooted my device. Is there a solution for this problem?

did you try with "Smart Switch" program from your PC, and download the update from there? As I saw in the video, you have to download the program, and check the latest update for your phone when connecting via USB. You can check this video, I think you can solve your problem by this way.

https://www.youtube.com/watch?v=BRDyAlqIrhU

Regarding the issue of the tripped dm-verity / etc. counters, I would suggest that you refer to or post up at www.xda-developers.com for further help on that.  Assuming there is a current method to reset the counters, that should allow for OTA updates to work again.
For OTA updates you aren't able to install in the mean time, I believe you can download them directly from Sammobile (reputable source).  This page is for the model tablet you disclosed, please choose accordingly for your carrier.  If you need further assistance, let us know!  Good luck.


text:
Android TV showing "There was a problem communicating with Google servers, try again later" error
I just got a new Android TV box and am trying to sign into Google play store but every time I put in the information and hit enter the error "There was a problem communicating with Google servers, try again later" pops up. I have cleared the data on Google play store and Google play services and have restarted my TV but nothing works. What should I do? How do I solve this problem?

Perhaps there's an update available for your TV?  Have you tried navigating to Settings and finding a System Update page?

I checked. There's no update. My system is up to date.


text:
How to disable android phone's display?
Hi im looking for method to disable my android phones display running on pie. I don't want to use tap to sleep, power button or simulate that option but I want to simply disable display completely and then turn it back on when I need it. I have rooted my phone already.
Example: I want to watch a YouTube video with only audio. So if I disable the display it can save my battery but pressing power button stops the buffering.
it's just an example for what I want to do this. I don't want it. I'm aware of youtube vanced..

Do you want to hear only a limited number of YouTube videos I would instead download and convert them to an audio track (using e.g. ClipGrab for PC). This would also save the power to decode the video.

I do not want it for youtube video. It's just an example of what I mean by disabling display panel and not pressing power button. Thanks for you reply btw.

Check your Wifi settings, usually when the screen goes off Wifi will be automatically disabled. This may be the reason for the "stops buffering".

I'm sorry maybe due to my English I am not able to convey what I want. I want to disable the display panel and nothing else. 'YouTube' was an example. All I want is to disable my display panel.

What you want is now clear, however Android is not designed to only switch off the display. Doing so changes the system state at various places and therefore can affect Wifi and other power saving features. AFAIK the power button simply switches off the display, the "unwanted rest" happens automatically because the display goes off, not because you pressed the power button.

You may try some stuff from my question, which is somewhat similar. https://android.stackexchange.com/questions/204305/how-to-make-an-app-behave-the-same-way-with-screen-off-as-with-screen-on

Thanks @mnd. it worked!

Thanks @mnd I found solution for the problem.
The following app works smoothly. It disables only display
https://forum.xda-developers.com/android/apps-games/app-screen-backlight-off-xda-exclusive-t3037380
Thanks stackexchange family.
Source: How to make an app behave the same way with screen off, as with screen on?


text:
Use flags in Chrome command line without root
I'm using Chrome version 74.0.3729.136. My phone is not rooted. I'm trying to use flags in Chrome command line without root.
I use the guide from Run Chromium with flags. According to that guide, with flags, it can be done.
The guide said:

For production build on a non-rooted device, you need to enable "Enable command line on non-rooted devices" in chrome://flags, then set command-line in /data/local/tmp/chrome-command-line. When doing that, mind that the first command-line item should be a "_" (underscore) followed by the ones you actually need. Finally, manually restart Chrome ...

I successfully set up the flag "Enable command line on non-rooted devices". But then I need to copy the data file to /data/local/tmp/chrome-command-line - and I cannot do that.
I tried:

Command like that:
C*:\WINDOWS\system32>adb shell 'echo --unsafely-treat-insecure-origin-as-secure=TestTest > /data/local/tmp/chrome-command-line'*
The system cannot find the path specified.

Recommendation from Run Google Chrome with flags (not from chrome://flags)
# echo "chrome --sync-url whatever" > /data/local/tmp/chrome-command-line

Use different Android OS (5-7).

Use construction like the following for copying files:
run-as com.example.app "cat /sdcard/temp_prefs.xml > shared_prefs/com.example.app_preferences.xml"

but nothing happened.
Anyone has tried it?

It worked. You need to set the flag and next, from the command line:
adb shell

shell@:/ $ echo "chrome --user-agent=MyUser" > /data/local/tmp/chrome-command-line

To confirm it, you can download the file from the phone
adb pull /data/local/tmp/chrome-command-line C:\


text:
How to find my device's CSC (Country Specific Code)
I bought a Samsung Galaxy on an auction website, with no clear indication of where it comes from.
Now, to root the device or restore it, I need its Country Specific Code.
Question: How do I find the CSC of my device?
What I tried

Installed the Phone Info SAM app by vndnguyen.
Ran it (works even without root).
Opened the CSC CODE tab.

Product Code ends with TPA (Panama)
Firmware's CSC Code is DBT (Germany)
Active CSC Code is TPA
Available CSC Codes lists about a hundred codes.

Some website claims to find your CSC from your IMEI number by taking the 7th and 8th digits, which for me are 10, which supposedly means Finland.
That's many different codes, so I am not sure which one I should use. Or maybe both of these methods are actually completely wrong?

Some websites claim to find your CSC from your IMEI number, but I doubt them. This method looks more reliable:

Install the Phone Info SAM app by vndnguyen.
Run it.
Open the CSC CODE tab.
The Active CSC Code is the code you need.

It works even without root.


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:
How to block sound notifications of certain apps at a certain time?
At the moment I use an app called Nights Keeper that automatically blocks ALL sound notifications for me during the time I sleep.
The problem is that this blocks ALL sound notifications and I would like to block all sound notifications except for notifications of one particular app that reminds me to take my medicine at night.
I am not looking for a way to do this manually, that is easy, but I don't want to change the notification settings for all apps manually every time I go to bed.
Is there any way to achieve this?
Thank you in advance for your answers.

i think you can do it with phone setting
Tap Settings > Sound > Do not disturb > Priority only allows, then pick some options. For example, you can set "priority only" to include incoming calls and texts from contacts, reminders, event alerts, and repeat callers. To restrict call and text alerts to your innermost circle, make sure Calls and Messages is set to Starred contacts only, then go through the Contacts app and star only those contacts who really, truly matter to you. Finally, a Repeat callers setting will allow a caller to get through if they've called twice within 15 minutes.
To enable Priority mode, flick down from the top of the screen to reveal Quick Settings, tap Do Not Disturb, then make sure the Priority only tab is enabled.
Finally, sit back and give your full, undivided attention to a (grateful) friend.
Note: Android's version of Do Not Disturb boasts three different modes: Priority Only, which blocks specific alerts for apps, calls and texts; Alarms Only, which blocks all alerts except for the Android alarm clock; and Total Silence, which blocks all alerts, no matter what. While the Alarms Only and Total Silence modes will guarantee you a peaceful lunch hour, they may also block critical alerts, calls or alarms. In general, you should stick with Priority Only mode unless you're certain you don't want any interruptions, period.
if you are looking for app that blocks notification :

Notification Blocker & Cleaner & Heads-up Off.
360 Security – Antivirus boost.
Notification Cleaner

Thank you for your effort, but unfortunately none of the apps does the job.


text:
Particular WiFi does not connect after trying to root Samsung Galaxy S10e with Magisk
I followed this tutorial: https://topjohnwu.github.io/Magisk/samsung
All went well until step 14 (so, right after flashing the ROM and rebooting).
At step 14, Magisk tried updating, but could not. I realized the problem was that Android can not connect to my company's WiFi. I mean, I can see the WiFi networks, but I can not log into my company's WiFi.
Notes:

The WiFi hotspot itself is OK, my desktop computer is using it right now to post this question.
Android was able to connect to that WiFi and use its Internet, up to step 5 at least.
Strangely, I can connect to another WiFi network (my friend's mobile tethering)
This thread suggests it might be caused by modules, and suggest removing the modules then rebooting, but I installed no modules.

How to fix the problem?
adb logcat
05-21 22:20:33.559  5207  5207 D WifiHAL : Start get packet fate command
05-21 22:20:33.559  5207  5207 D WifiHAL : createRequest Get Tx packet fate request
05-21 22:20:33.559  5207  5207 D WifiHAL : error code -95 mapped to -3
05-21 22:20:33.559  5207  5207 E WifiHAL : Failed to register get pkt fate response; result = -3
05-21 22:20:33.559  5608  5873 E WifiVendorHal: getTxPktFates(l.2241) failed {.code = ERROR_NOT_SUPPORTED, .description = }
05-21 22:20:33.560  5207  5207 D WifiHAL : Start get packet fate command
05-21 22:20:33.560  5207  5207 D WifiHAL : createRequest Get Rx packet fate request
05-21 22:20:33.560  5207  5207 D WifiHAL : error code -95 mapped to -3
05-21 22:20:33.560  5207  5207 E WifiHAL : Failed to register get pkt fate response; result = -3
05-21 22:20:33.560  5608  5873 E WifiVendorHal: getRxPktFates(l.2283) failed {.code = ERROR_NOT_SUPPORTED, .description = }

I also get:
WifiVendorHal: getRingBufferStatus(l.2059) failed {.code = ERROR_NOT_SUPPORTED,

Go to the WiFi networks activity.
Long-press the problematic WiFi network
Choose "Forget network"
Turn WiFi off and on, just to make sure
Tap the WiFi
You will be asked for the WiFi password again, enter it
Now you should be able to connect, at least that is what worked for me


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:
How to disable media gallery permission of Hill Climb Racing 2?
I have installed Hill Climb Racing 2. It asked for access to my gallery. For installation I permitted it. But now I want to disable it. How can I do it?

Its quite easy to do so. All you need to do is to change your App Permissions. All you need to do is the following:
1. Goto Settings of your mobile phone
2. Find the option Apps
3. Scroll down the list to find out Hill Climb Racing 2
4. Look for Permission Tab
5. Search the list of permissions for the permission you want to disable
6. Click it and disable it
For more information and detailed overview, I recommend you to see this video for further details:
How to Manage App Permissions on Android

Amazing. I got it done easily.

Another way to disable app permissions is to use a tiny but powerful utility. This utility is known as Lucky Patcher. However, you will not be able to find it from Play Store. Download Lucky Patcher. Follow some simple steps to install it and use it to manage app permissions.

It is best if you mention how to use that app within the answer because link-only answers lose their usefulness once the link expires.

Are you affiliated with the website freeluckypatcher.com? Our policy on promotion requires full disclosure of affiliation in all such posts where the affiliated product/link is mentioned.

@Firelord Not to mention the website isn't the official one.


text:
Remove pin lock from an old forgotten phone
I broke my current phone so I thought that I would use my old Samsung j1(2016) but it seems that I forgot the 10 digit pin code (10 because the code used all digits including 0). I searched the net but the phone doesn't have developer option activated, custom rom/recovery and wifi/3g deactivated.
Please help me I don't want to delete all my data.

You can Unlock your device using Odin to flash firmware but it can't stop get formatted during flash process.
When flashing a firmware it clear the internal storage.


text:
Does LineageOS or OpenGApps have a GMS License and GMS Certification?
Some time ago, I have installed LineageOS on my Samsung Galaxy S2, together with the OpenGApps suite. I have registered with Google and enjoy access to the phletora of Google Play apps on this phone.
Now, is this use of Google Play from an ASOP based Android legal, or problematic? Since, I really doubt LineageOS, nor the OpenGApps project has properly gone through the GMS License and GMS Certification which seems to be required to obtain proper access to Google's apps?
Note: This question has arisen around the Ban of Huawei from using "Google services" as per this article: https://www.theguardian.com/technology/2019/may/19/google-huawei-trump-blacklist-report
I think, Huawei should be no different than LineageOS, when it comes to using ASOP and installing the play store via OpenGApps.

Google's stance is that GMS is granted to a device, which then stays with it regardless of any custom ROM the consumer may install. In other words, if you get a stock device that has GMS, then you're allowed to install OpenGApps on any third-party ROM you put on it. However, you're not allowed to install OpenGApps on a device that never had GMS.

Do you have links to relevant documentation?


text:
I want ideas to trace which app is rebooting my android
Some process is rebooting my phone every time it connects to Wi-Fi. I thought of connecting it to the PC and do an strace in init or zygote or the system server, but I don't know what to look for in this traces.
Can you guys suggest some ideas or explain which are the system calls used to reboot/shutdown the Linux kernel?
I just did a logcat and got the result below. If you guys do a ctrl+F there is a "reboot" in the middle of the text:
05-22 03:47:08.204 27581 27581 W MtkCam/HalSensorList: [impConstructStaticMetadata_by_SymbolName] constructCustStaticMetadata_PROJECT_SCALER_COMMON not found
05-22 03:47:08.204 27679 27711 W PackageParser: Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.WAKE_LOCK in package: com.sec.android.app.factorykeystring at: Binary XML file line #65
05-22 03:47:08.204 27679 27711 W PackageParser: Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.VIBRATE in package: com.sec.android.app.factorykeystring at: Binary XML file line #67
05-22 03:47:08.204 27679 27711 W PackageParser: Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.REBOOT in package: com.sec.android.app.factorykeystring at: Binary XML file line #69
05-22 03:47:08.204 27679 27711 W PackageParser: Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.WRITE_SETTINGS in package: com.sec.android.app.factorykeystring at: Binary XML file line #70
05-22 03:47:08.204 27679 27711 W PackageParser: Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.VIBRATE in package: com.sec.android.app.factorykeystring at: Binary XML file line #73
05-22 03:47:08.204 27581 27581 W MtkCam/HalSensorList: [impConstructStaticMetadata_by_SymbolName] constructCustStaticMetadata_PROJECT_FEATURE_SENSOR_DRVNAME_S5K5E3YX_MIPI_RAW not found
05-22 03:47:08.204 27581 27581 W MtkCam/HalSensorList: [impConstructStaticMetadata_by_SymbolName] constructCustStaticMetadata_PROJECT_FEATURE_COMMON not found
05-22 03:47:08.204 27679 27711 W PackageParser: Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.MODIFY_AUDIO_SETTINGS in package: com.sec.android.app.factorykeystring at: Binary XML file line #77
05-22 03:47:08.204 27679 27711 W PackageParser: Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.MASTER_CLEAR in package: com.sec.android.app.factorykeystring at: Binary XML file line #78
05-22 03:47:08.214 27679 27711 W PackageParser: Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.READ_PHONE_STATE in package: com.sec.android.app.factorykeystring at: Binary XML file line #80
05-22 03:47:08.214 27679 27711 W PackageParser: Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.DEVICE_POWER in package: com.sec.android.app.factorykeystring at: Binary XML file line #84
05-22 03:47:08.214 27679 27711 W PackageParser: Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.RECEIVE_BOOT_COMPLETED in package: com.sec.android.app.factorykeystring at: Binary XML file line #85
05-22 03:47:08.214 27679 27711 W PackageParser: Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.VIBRATE in package: com.sec.android.app.factorykeystring at: Binary XML file line #88
05-22 03:47:08.214 27679 27711 W PackageParser: Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.BLUETOOTH_ADMIN in package: com.sec.android.app.factorykeystring at: Binary XML file line #90
05-22 03:47:08.214 27679 27711 W PackageParser: Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.WAKE_LOCK in package: com.sec.android.app.factorykeystring at: Binary XML file line #91
05-22 03:47:08.214 27679 27711 W PackageParser: Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.DEVICE_POWER in package: com.sec.android.app.factorykeystring at: Binary XML file line #92
05-22 03:47:08.214 27679 27711 W PackageParser: Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.WRITE_SETTINGS in package: com.sec.android.app.factorykeystring at: Binary XML file line #93
05-22 03:47:08.214 27679 27711 W PackageParser: Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.WRITE_SECURE_SETTINGS in package: com.sec.android.app.factorykeystring at: Binary XML file line #94
05-22 03:47:08.214 27679 27711 W PackageParser: Ignoring duplicate uses-permissions/uses-permissions-sdk-m: android.permission.WRITE_EXTERNAL_STORAGE in package: com.sec.android.app.factorykeystring at: Binary XML file line #95
05-22 03:47:08.214 27581 27581 W MtkCam/HalSensorList: [impConstructStaticMetadata_by_SymbolName] constructCustStaticMetadata_PROJECT_CAMERA_SENSOR_DRVNAME_S5K5E3YX_MIPI_RAW not found
05-22 03:47:08.214 27581 27581 W MtkCam/HalSensorList: [impConstructStaticMetadata_by_SymbolName] constructCustStaticMetadata_PROJECT_CAMERA_COMMON not found
05-22 03:47:08.214 27581 27581 W MtkCam/HalSensorList: [impConstructStaticMetadata_by_SymbolName] constructCustStaticMetadata_PROJECT_REQUEST_SENSOR_DRVNAME_S5K5E3YX_MIPI_RAW not found
05-22 03:47:08.214 27581 27581 W MtkCam/HalSensorList: [impConstructStaticMetadata_by_SymbolName] constructCustStaticMetadata_PROJECT_REQUEST_COMMON not found
05-22 03:47:08.214 27679 27710 D PackagePrefetcher: put: /system/priv-app/EasyLauncher2_Zero
05-22 03:47:08.214 27581 27581 D SeninfDrvImp: [setMclk1][setTg1PhaseCounter] pcEn(0) clkPol(0) CamPll(0x0) mMclk1User(0)
05-22 03:47:08.214 27679 27713 D PackagePrefetcher: put: /system/priv-app/DeviceTest
05-22 03:47:08.214 27581 27581 D SeninfDrvImp: [setMclk2][setTg2PhaseCounter] pcEn(0) clkPol(0) CamPll(0x0) mMclk2User(0)
05-22 03:47:08.214 27581 27581 D SeninfDrvImp: [uninit][uninit]: 1
05-22 03:47:08.214 27581 27581 D SeninfDrvImp: [uninit][uninit]: 0, mfd(12)

I'll try another logcat, but from android terminal so it will stop when the system shut down

if you simply do what you outline above the log you can view on the PC could give you enough clues ... please update your question with a paste of suspect log entries

Have you tried [tag:logcat]?

posted a raw adb logcat in the question

Regular apps can't reboot your device. If it is related to Wifi most likely a kernel driver is crashing. After reboot check the last kernel log in /proc/last_kmsg

I will, Robert. Thanks, do keep in mind my phone is rooted and there is a payload in it


text:
Can't install my own app from Play Store
Not sure whether it's related to the problem or not, but this affects only my own apps. When I try to install any of them, it downloads twice for some reason, then I get this message:

Can't install [APP] Try again, and if it still doesn't work, see common ways to fix this

Other people can install and use my apps with no problems.
Here's what I tried:

I used Titanium Uninstaller to completely uninstall my app after testing it via ADB (yes it works fine with ADB and bundletools)
I cleared google play's data and cache
I cleared any data/cache folder related to my app
I completely wiped system, data, cache and storage of the phone I use for testing and reinstalled the firmware, first thing I did afterwards is trying to install my app and I got the same problem.

Here's what I got from logcat: (com.shakibb.dlala is the package name for my app)
05-22 00:20:54.624 23836-23836/? I/Finsky: [1] com.google.android.finsky.download.DownloadBroadcastReceiver.b(1): Intent received at DownloadBroadcastReceiver
05-22 00:20:54.626 23836-23836/? I/Finsky: [1] hmr.a(59): com.shakibb.dlala: onProgress 1472622/1472622 Status: 200 URI: content://downloads/my_downloads/39.
05-22 00:20:54.634 17611-20434/? W/zipro: Error opening archive /data/data/com.android.providers.downloads/files/Dlala | الدلالة : Achat Vente en Algérie ����-5.bin: Invalid file
05-22 00:20:54.638 17611-25829/? W/zipro: Error opening archive /data/data/com.android.providers.downloads/files/Dlala | الدلالة : Achat Vente en Algérie ����-5.bin: Invalid file
05-22 00:20:54.658 23836-23836/? I/Finsky: [1] frp.a(11): Selecting account [aNaMyeNBhJG7ajSBD6GdsUVaT9A] for package com.shakibb.dlala. overriding=[true]
05-22 00:20:54.668 975-975/? W/StatusBar: removeFakeNotificationViews()---removeNotification for unknown pkg: com.android.providers.downloads
05-22 00:20:54.669 975-975/? I/PhoneStatusBar: updateNotificationCountChange,mLastHasNotification:true , hasActiveNotifications:true
05-22 00:20:54.691 799-1554/? I/libPerfService: perfSetFavorPid - pid:0, 0
05-22 00:20:54.707 23836-23836/? I/Finsky: [1] hmk.a(5): com.shakibb.dlala from 2 to 3.
05-22 00:20:54.715 23836-23836/? I/Finsky: [1] hmr.e(-1): com.shakibb.dlala: onComplete
05-22 00:20:54.715 23836-23836/? I/Finsky: [1] hmr.i(1): Download com.shakibb.dlala removed from DownloadQueue
05-22 00:20:54.717 288-288/? I/installd: free_cache(0) avail 8150192128
05-22 00:20:54.717 799-1026/? I/NetworkIdentity: buildNetworkIdentity:
05-22 00:20:54.718 799-1026/? I/NetworkIdentity: networkId = DJAWEB_F8826
05-22 00:20:54.719 799-1510/? I/NetworkIdentity: buildNetworkIdentity:
05-22 00:20:54.719 799-1510/? I/NetworkIdentity: networkId = DJAWEB_F8826
05-22 00:20:54.721 23836-23836/? I/Finsky: [1] kct.a(100): Prepare to copy com.shakibb.dlala (adid: com.shakibb.dlala , isid: QnPaZv5KSVC13AUwZp9Qaw) from content://downloads/my_downloads/39 (expect 1821314 bytes, isCompressed: true)
05-22 00:20:54.721 23836-23836/? I/Finsky: [1] hvz.a(7): APK integrity will be verified using [SHA-256] method
05-22 00:20:54.728 975-975/? I/KeyguardUpdateMonitor: handleBatteryUpdate index=0 updateInteresting=false
05-22 00:20:54.729 1316-1762/? I/BatteryConsumeMonitor: init var lastPlugType : 2 lastBatteryChangedLevel : 87
05-22 00:20:54.732 799-820/? I/libPerfService: perfSetFavorPid - pid:23836, 5d1c
05-22 00:20:54.732 23836-23870/? W/Finsky: [410] ctj.a(1): Copy error (source-FileNotFoundException) for com.shakibb.dlala (com.shakibb.dlala): java.io.FileNotFoundException: No such file or directory
05-22 00:20:54.736 256-755/? E/Vold: Failed to find mounted volume for /storage/sdcard1/Android/data/com.android.vending/files/
05-22 00:20:54.736 256-755/? W/Vold: Returning OperationFailed - no handler for errno 0
05-22 00:20:54.737 23836-23836/? W/ContextImpl: Failed to ensure directory: /storage/sdcard1/Android/data/com.android.vending/files
05-22 00:20:54.737 23836-23836/? I/Finsky: [1] kct.b(174): Retry download of com.shakibb.dlala (adid: com.shakibb.dlala , isid: QnPaZv5KSVC13AUwZp9Qaw) (inhibit 1024)
05-22 00:20:54.741 23836-23836/? I/Finsky: [1] kct.a(318): Downloading full file for com.shakibb.dlala (com.shakibb.dlala)
05-22 00:20:54.742 23836-23836/? I/Finsky: [1] hmk.a(3): Duplicate state set for 'com.shakibb.dlala' (0). Already in that state
05-22 00:20:54.742 23836-23836/? I/Finsky: [1] hmr.a(38): Download com.shakibb.dlala added to DownloadQueue
05-22 00:20:54.744 23836-23836/? I/Finsky: [1] hmk.a(5): com.shakibb.dlala from 0 to 1.

My device is: Meizu M2 running flyme 6.2.2

Ok I fixed the problem. For some reason the downloader on my phone doesn't support emojis in filenames anymore (because it worked fine before). I removed the emoji from the app title and it works fine now.


text:
Can't chown or chmod files on android phone
Hi there i got some files on my android phone and want to make them executable. Permissions are root:sdcard_rw. I cant remove tha sdcard_rw with chown, and cant make the files executable with chmod.

Possible duplicate of Is it possible to change file permissions on Android's internal storage?

I have managed to change the permissions and make things executable by booting into twrp and using its console. Before that i have tried it with termux su and tsu where both had root permissions. Maybe its not a solution but a workaround.


text:
Official Facebook Hello contacts/dialer app login only says "104"
The Facebook Hello app https://newsroom.fb.com/news/2015/04/introducing-hello (released April 22, 2015 according to their post) is giving an error only saying "incorrect signature" and "104".
I am a good/loyal Facebook user so I installed the apps they suggested, grew to love using Facebook Hello the officially advocated contacts program, and now after searching several times over a year for news and not finding any clear Help article (I found a lot of still-posted promotional pieces about how great "Hello" is as the first, second, and third, result!) I am wondering what do you do?
Customer reviews at https://play.google.com/store/apps/details?id=com.facebook.phone&rdid=com.facebook.phone&reviewId=gp%3AAOqpTOHZWFKjSnnjN5CrK5pmMl558_uC7NiCPu9pWIWcATy8WwuYkGe9IRmfOisfZN2fS3dlIh2cGaGO-2I&showAllReviews=true show many people also just reported a "104".

"We're moving on" is all Facebook has said since then, adding "We will be deprecating Hello in a few weeks." minus a reason, from an unknown anonymous Facebook employee author.
For some reason Facebook did not tell users who installed the HEAVILY advertised "Hello Dialer" application about (maybe with another ad equally) that they're forgetting the idea now: https://newsroom.fb.com/news/2018/07/hello-tbh-moving-on/.
The reason you did not find information, is that recent news suggests the application in question has been deprecated officially in a quiet press release, in their news article I archived to report at http://web.archive.org/web/20190522194837/https://newsroom.fb.com/news/2018/07/hello-tbh-moving-on because of the secrecy, as that is fairly well hidden for a large organization, and had not been given good meta-data information, to be indexed in searches with priority.


text:
Disable notifications for random news stories
Many times per day, my phone shows me notifications like the one below. It's a random news story (which admittedly is on a topic I am interested in), but I have never wanted to get a notification about a news story, ever.
I hate it displaying a new news story every 10 minutes, but I'm fine with it giving a notification for things like the weather, my commute, etc., so I'd rather not disable all Google notifications. I'm also fine with it listing these news stories in the leftmost page of the home screen, I just don't need a notification about them. (I'm also fine with losing the news stories from the leftmost page, if that's the only way to get rid of the notifications.)
I have tried this already: From the leftmost page of the home screen, click the user account icon in the upper-right, select 'Settings', select 'Notifications'. I disabled several categories, including 'Topics of interest', 'Business listings', and 'Stocks'. There is no 'news' category or similar.
I do see the option to remove a particular news source (e.g., 'InsideEVs' in the screenshot below), but that's not a solution; I want all of them gone at once, not whack-a-mole.
My phone is a Pixel 3 XL, running Android 9.
Here's an example of a notification I want to get rid of.

The message in the screenshot looks to me like a "Stocks" notification of Google Now: https://www.maketecheasier.com/control-google-now-notifications/

"Stocks" is one of the notification categories I already had disabled. (The two I listed in the question were not a complete list, just the two that seemed most likely to me.)


text:
Running flash files on Android 8
I have been running flash files and sites on Android 6 very smoothly using Dolphin video or dolphin browser. After upgrading into Android 8, none of these apps are running well: Dolphin browser is unable to install from google play or from APK, and Dolphin video is unable to work porperly.
Does anyone have any solution for flash files?

Adobe stopped flash support on Android long time ago. May be you installed the old flash app manually on your old phone? However using this old flash app is like inviting everybody on the net to install malware on your system.

I was using some official apps from google play store !

It's a 2 step workaround solution :
Go to the play store & install this version of Puffin browser
Open this website.
Browse for your local file, upload it & let it play.


text:
Installing fsmon to monitor Android File System
I would like to monitor the FS on my Galaxy S8 phone. I am using Ubuntu 18.04.2 LTS with adb to connect to my samsung. In my Ubuntu environment, i entered the following command:
make android NDK_ARCH=arm64 ANDROID_API=26
I then received the following response:

for a in arm84; do \
if [ -z ""]; then \
./android-shell.sh $a \
make aagt21compile ANDROID_API=26 NDK_ARCH=$a ; \
else \
make aagt21compile ANDROID_API=26 NDK_ARCH=$a ; \
fi ; \
done
Building android locally with NDK instead of dockcross......
Invalid path in NDK environment, please change me.
Makefile:166: recipe for target 'android' failed
make: *** [android] Error 1

I am unable to take a screenshot of the error as my ubuntu computer doesn't have internet and I am quite restricted at my workplace in terms of transferring stuff from development to internet laptop.
I have installed Android NDK using sudo apt-get install google-android-ndk-installer
Please help!

Development questions are off-topic here. You need to set NDK path for this to work. Better download latest NDK directly from Google. But why don't you use pre-built binaries: https://github.com/nowsecure/fsmon/releases? Or why not simply inotifywait or busybox inotifyd?

Possible duplicate of Installing fsmon onto Galaxy S8 phone


text:
Google Pixel 3 - Cannot Stop Security Updates
I just recently got the new pixel 3 and have loved the phone from stem to stern but I have this huge issue with it. Since I turned it on and ported all my contacts, photos, etc over it has not loaded all my apps. I found out this was because it has been installing system security updates non-stop for over 24 hours now, rendering it basically useless.
I can't use this phone in this state. I've tried clearing the google app cache and storage and it keeps on chugging through security update to security update. I can't even tell how many it has completed or has yet to do because it has no indication of how many are left, at all. All I can see is the current update's progress. I've had to reboot the phone twice this morning just for the security updates.
Is there a way via rooting the Pixel 3 or entering developer mode, or just some setting i overlooked that I can tell the system to stop updating so I can have a useable phone? Or am I up a creek.

If it is acting like that, something is wrong with the device. Return it.

Just find a fast WiFi for your phone and wait. Security updates are released monthly and they need to be installed sequentially. So if your phone is preinstalled with January 2019 version (for example) it needs to install February patch, March patch, and so on... until it catches up.

Unfortunately this this the proper way to initialize a newly bought Android device.
Google usually releases every month a new security update and each security update has to be installed individually, and often after the update installation a restart is required.
Hence if you get a device that for example was produced 6 months before you have to install up to 6 updates one at a time.
In this case the Pixel 3 has been released in October 2018. If the device you got was produced at that time up to the time of the question up to 8 updates have accumulated and each update has to installed one-by-one plus reboot.
Hence the first hours after switching on a new Android device you are busy installing security updates, which usually requires several buttons to be pressed at the correct time.


text:
Google Verify account
I have tried to reset my phone as was given by elder whom the owner is past of which the owner details are not know and I stacked on How to bypass “Verify your account” (Factory Reset Protection) on Nokia 5

https://www.techeligible.com/2017/10/23/bypass-nokia-google-account

The quickest way is directly flash your android phone.
You can get more detail from XDA.
You might need to unlock bootloader first.
Than go to download and flash Recovery Image from TWRP. (This is kind of like BIOS on PC)
After that, you can flash a new Android OS without any issue or verify anything.
Or try this: [This may not work]
1. Go to Android Website and download Android Platform Tools
2. Unzip it and put it in to C:\x
3. Open CMD from windows  (while the phone is connected to your pc)
4. Type:
cd c:\x

5. Type:
adb shell settings put secure user_setup_complete 1
adb shell settings put global device_provisioned 1

Reboot your phone. (or type adb reboot)


text:
Why camera taking 2 copies at a time?
I'm using Asus Zenfone Max Pro M2 with Android Pie.
So when I take a shot from default camera it does saving two copies at a time. Same for front camera.

Some cameras allow repeated captures if the button is depressed longer. See your manual for settings about the "Continuous Shot" setting, since it may be a form of "burst mode". My Samsung (sorry my experience is not with Zenfone) allows for "burst mode" to allow the camera itself to take a short burst of images, selecting its choice of "best", but keeps the others for any personal preference otherwise. Your phone may do similar.

I disable continuous shot but it is not working. Thanks for your time and efforts.


text:
Unlocked bootloader, not booting
I unlocked the bootloader on my Nexus 5X phone. When I tried to boot into recovery mode, I get the standard message that my device isn't being scanned for corruption. I expected it... but then nothing. It doesn't boot, it doesn't change. I tried relocking the bootloader in an attempt to fix my mistake, but then I get a message that my device is corrupt. Still doesn't let me boot. Tried unlocking and relocking again. Same thing.
If I hold the power button down long enough, I can go back to the broken Android screen. The Start option has the same problem as above. Restart bootloader just shuts the phone off for a split second, then goes back to the broken android screen. Recovery mode doesn't work as described above. I'm afraid to go with "Power off", I'm afraid it might ruin my phone.
I can re-re-unlock the bootloader and go back to the "can't check for corruption" message. Re-re-locking it makes the "your device is corrupt" message again. What do I do? I'm afraid I might have already ruined the phone.

It seems that fastboot mode is working and bootloader is already unlocked, so what you can do in such a case is flash the stock firmware in the device. You can either flash it via fastboot itself or via recovery. The one with recovery is a bit safer.
Full OTA image for Nexus and Pixel devices can be found here along with the instructions. If the instructions there do not work for you, here is what to do:

Download TWRP (a custom recovery) for your device and follow the instructions there to flash it. You can alternatively directly boot into TWRP by using this command:
fastboot boot recovery.img

Make sure to rename the downloaded TWRP image to recovery.img and provide the full path to wherever you have downloaded it within the command.
Download the full OTA image in the PC.
In TWRP, go to Advanced → Sideload, and push the slider to begin sideloading. In the PC, issue this command:
adb sideload FULL_OTA_IMAGE.zip

Replace FULL_OTA_IMAGE.zip with the actual name and path of the full OTA image you have downloaded. Once it reaches 100%, your sideloading is finished. You can now issue the command adb reboot or reboot from the TWRP.

Your phone should boot fine now. Note that this would remove TWRP if you had installed it earlier. This does not locks the bootloader though.