text:
How to recover a deleted file from /data partition on a rooted phone?
I factory reset my rooted Android M phone but now I realize that there was a file in the /data directory which I need.
Is it possible to create an image (.img or something similar) of the /data partition so that I could run some recovery software for ext4 on that image? I have a little knowledge about ADB.

Duplicate: Recover deleted content from userdata partition?

First to clarify root and data:

Root directory / of Android devices is a read-only pseudo (temporary) filesystem (rootfs) that lives in RAM and is vanished when device is powered off. When device is powered on, it's again extracted from initramfs that lives in boot partition along with kernel.

On newer devices with system-as-root, system partition is mounted at root /.

/data directory is a mountpoint, where largest partition, usually named userdata is mounted. This partition contains all user apps, their data (settings, databases, caches, temporary files etc.), system apps' data and all other configurations we make through Settings. /data/media/0 is the directory that we see as /sdcard or /storage/emulated/0 through emulation.

... there was a file in the /data directory which I need. Is it possible to create an image (.img or something similar) of the root directory ...

If a file is deleted from /data, you need to create a dump of data partition, not that of root directory.
You can do that in multiple ways described below. All require root access.

But first of all, see this answer to make sure your data is recoverable.
In short, recovery is more or less possible only if (1):

Your deleted data hasn't been TRIMmed or discarded.
And you haven't done a factory reset on encrypted /data partition.

What you should do immediately:

Switch off phone to make sure the deleted data isn't overwritten.
Don't install data recovery apps on device, it can do more harm than good.
Mount the filesystem (if required) in recovery mode (or on PC) only with ro,nodiscard options.

FINDING BLOCK DEVICE:
In order to access the userdata partition, you need to find its block device. If you have root access, you can do so from mounted partitions:
~# mount | grep 'on /data'
/dev/block/mmcblk0p... on /data type f2fs (rw,nosuid,nodev,...)

On Qualcomm devices, it's located at /dev/block/bootdevice/by-name/userdata (symlink). For MediaTek (MTK) and other SoCs, the path is slightly different. You can find all block devices or by-name directory using find command:
~# find /dev -type b
~# find /dev -type d -name 'by-name'

Or by hit and trial:
~# ls -d /dev/*/by-name
~# ls -d /dev/*/*/by-name
~# ls -d /dev/*/*/*/by-name

Note:

If your /data partition has Full Disk Encryption (FDE) you need to decrypt it before exposing to UMS because decrypting Android's FDE on PC is near to impossible in most cases due to hardware-backed encryption. See some relevant explanation in my answer to Cross-platform compatible encryption of SD-card for Android. dm-crypt decrypts the block device to /dev/block/dm-[N]. Use this instead of userdata.
To prevent any data loss, it's recommended to create a dump when the partition is not mounted i.e. in recovery mode.

CREATING PARTITION DUMP:
DISK DUMP (dd)
Once the block device is known, you can use the dd command from:

ADB shell (OS or custom recovery)
A terminal emulator app like Termux

Since the userdata partition is the largest partition (all other partitions are hardly using 5GB out of total storage), you can't dump it to your internal memory. An external SD card with larger capacity is needed.
To create the dump:
~# dd if=/dev/block/bootdevice/by-name/userdata of=/path/to/ext_sdcard/data.img

ADB
If you don't want to use an external SD card, you can also dump the partition directly to PC. First you need a working adb setup, running as root. Then it can be used in multiple ways:
~$ adb exec-out dd if=/dev/block/bootdevice/by-name/userdata > data.img

* Make sure your adb binary (on Windows or Linux) supports exec-out.
But you may end up with corrupted data when writing a whole large-sized partition to STDOUT of terminal because there are issues with line break types (CR and LF). Also STDOUT or STDERR from the programs involved could possibly be added to the file if not directed to /dev/null. Even a single wrong byte may render filesystems un-mountable. See this question for reference.
To avoid unwanted characters, use stty raw and/or dos2unix:
~$ adb shell 'stty raw && dd if=/dev/block/bootdevice/by-name/userdata' > data.img

But the most straightforward way is:
~$ adb pull /dev/block/bootdevice/by-name/userdata data.img

See this answer for more details.
STREAM OVER TCP
To avoid the terminal-related complications described above or if for some reason adbd cannot be run as root, it's also possible to create a minimal TCP server for data transfer. Forward the port from phone to PC and run a netcat TCP server in listening mode:
~$ adb reverse tcp:1024 tcp:1024
~$ nc -v -l -p 1024 </dev/null | pv -ab >data.img

On phone:
~# cat /dev/block/bootdevice/by-name/userdata | busybox nc 127.0.0.1 1024

USB TETHERING (RNDIS)
To avoid using ADB at all, USB tethering can be used to provide network connectivity:
~# cd /sys/class/android_usb/android0
~# echo -n 0 >enable
~# echo -n rndis,adb >functions
~# echo -n 1 >enable

* You may also change other files like {iSerial,iProduct,iManufacturer} and f_rndis/{ethaddr,manufacturer,wceis,rndis_transports,max_pkt_per_xfer} in the above directory if required.
* On new devices you might need to use /config interfaces instead of /sys. Some relevant hints here.
Add IP address:
~# busybox ip rule add lookup main
~# busybox ip address add 192.168.1.1/30 dev rndis0
~# busybox ip link set rndis0 up

On PC add IP manually (there's no DHCP server):
~$ sudo ip address add 192.168.1.2/30 dev usb0
~$ nc -v -l -p 1024 </dev/null | pv -ab >data.img

On phone:
~# busybox nc 192.168.1.2 1024 </dev/block/bootdevice/by-name/userdata

In the same way it's also possible to use rclone rcat to transfer the dump over WebDAV or FTP or SFTP. See How to stream an encrypted backup of the entire device to remote host?
USB MASS STORAGE (UMS)
This method is useful if you don't want to create a dump of the partition, but instead access partition directly on PC. See my answer to Why can't I see Android storage as a partition on PC? for methods on how to enable UMS thorough /sys or /config interfaces.
Once done, userdata will appear as a partition on Linux PC just as we connect a USB drive. If /dev/sda is the hard disk drive, usually /dev/sdb will be the userdata partition. You can find that by using blkid command:
~# blkid | grep userdata
/dev/sdb: PARTLABEL="userdata" PARTUUID="..."

You can run recovery programs directly on the block device or mount the filesystem (if needed) or may also create a dump.
HOW TO RECOVER DATA?
There are basically two ways to recover deleted data as mentioned in this answer: carving method and through the filesystem.
Recovery tools mostly don't need mounting filesystems but if it's required, it needs to be done on Linux PC because Windows doesn't support ext4 or f2fs natively, hence the tools aren't easily available AFAIK.
If anyone has been able to successfully make block/journal level access to Linux/Android filesystem for data recovery on Windows through Ext3Fsd or any other driver, let me know so that I can update the answer.
On Linux you can use tools like extundelete to recover data using filesystem journal:
~# extundelete --restore-all data.img

Or to recover data directly with UMS:
~# extundelete --restore-all /dev/sdb

Since you have done a factory reset which erases the filesystem, consider carving method using tools like TestDisk or scalpel:
~# testdisk data.img

In the same way you can use any other data recovery tools. See the ArchWiki on File Recovery for more details.

RELATED:

How to get data off a completely dead Android phone?
How to take full image backup of eMMC?
Why can't I see Android storage as a partition on PC?
Is there any way to recover data from 2nd SD partition?
How disk space is used on Android device?

you just forgot to tell mount the fstype. use mount with -t ext4 -o loop,ro,noexec,noload and instead of adb exec-out you could just use adb pull /dev/block/bootdevice/by-name/userdata or adb pull /dev/block/dm-0 https://digital-forensics.sans.org/blog/2011/06/14/digital-forensics-mounting-dirty-ext4-filesystems

@alecxs mentioning fstype isn't necessary; mount binary can guess a number of commonly used filesystems. No -t is actually -t auto. adb pull is worth-mentioning. Thanks for pointing out.

mount can not detect fstype for loop mounts, especially for dirty mounts (see link)

@alecxs you must be right, though the link you mentioned is a bit outdated. But I never came across such situation that mount couldn't guess filesystem type including ext4, f2fs, ntfs and exfat, either from loop file or block device. busybox mount as well as toybox mount can detect filesystem type.

Both also should handle losetup of loopback files automatically (see this and this). Same is true for full mount binary from util-linux. So if filesystem isn't corrupted and mount binary isn't buggy, I don't think -t is necessary.

tested without -t and works! However, in my forensic scripts i often got "invalid argument" when just -t was missing, and i made some tests and figured out this happens for loop mounts. on the other hand i did know loop is not necessary for busybox, but necessary for mount binary. Things may have changed meanwhile, or it's a special thing of my old debian

@alecxs you are right. Linux mount binary has issues mounting loop file b/c of difference in /dev/loop* and /dev/block/loop*. busybox mount does mknod before LOOP_SET_STATUS if loop device doesn't exist. Linux mount always expects (64) loop devices to exist.

is extundelete compatible with f2fs?

@alecxs no. EXT-undelete reads deleted or corrupted data information from the journal of Linux's EXT[N] filesystems. F2FS is not a journaling but log-structured filesystem i.e. roughly saying the whole filesystem is a journal. So the tools developed for one filesystem won't recognize the other at all except the common ioctl's etc.

Based on this question I did use the method described above:
~$ adb exec-out dd if=/dev/block/bootdevice/by-name/userdata > data.img

But there is an issue, the image will be encrypted if the data is not decrypted first. File and folder names will be gibberish.
The only way I got decrypted data was via TWRP, because it asks for decryption password on start.
And then I was able to copy the data via mtp.
I know this may not seem on topic on how to recover files, but this question is getting a lot of traffic and the proposed solution has a drawback and I'm not allowed to comment right now.
Edit: The original answer does how a way to access the decrypted information that I had not seen.

From my answer: “If your /data partition has Full Disk Encryption (FDE) you need to decrypt it...”. The same is applicable to File Based Encryption (FBE). // Also MTP is of no use when it comes to data recovery. Raw access is required to the filesystem or the underlying media.

You're right, I've updated my answer to reflect that part of your answer.

copying files in TWRP is unrelated to data recovery - "dm-crypt decrypts the block device to /dev/block/dm-0. Use this instead of userdata" ... for recovery attempts with extundelete (from @IrfanLatif answer)

Actually data recovery with FBE is far more complex than with FDE. With FDE, after decryption, you've the whole filesystem structure intact until it's not TRIMed or BLKDISCARDed. But with FBE the encryption key is also deleted with the deleted file. So along with the actual data, you also have to recover the key or recalculate it, which may or may not work. But to make it work, you surely need a dump of the whole userdata partition. After decrypting FBE in TWRP, you have access to only the intact files, not the deleted files and their deleted keys. So I'd say this answer is invalid.

Where exactly in DATA ?
Is it in the emulated SD Card ?
If it's in the emulated SD Card, you could remove your external SD Card and mount the device under USB Mass Storage mode... You can the use free recovery software like Recuva ccleaner.com/recuva
However if your file is not in the emulated SD Card, you'd need to backup the Data partition as you mentioned.
To do that, you can either use the device itself to run a DD or CAT command to write the data to a .img file on your SD Card..
On Device
Using Terminal Emulator

locate your -by-name partition directory
getprop ro.frp.pst

( This will get the /dev/block/platform/DEVICE/by-name directory for frp - change the name to data )
You can just use /data otherwise.
dd if=/data of=/sdcard/data.img

If = Input file  - Of = Output file
You could also use ADB
Via Computer

Install ADB ( not the entire SDK but just ADB )

Using command prompts or power shell
adb shell dd if=/data of=/sdcard/data.img

You may need to locate your correct directory.
Then you can Mount the .img on a PC and do the recovery.. I'm not sure how to mount the .img file if the partition is ext4 so that's as far as this answer goes.
You can alternatively use an App called Disk Digger ..
It has the capability to scan the data partition live, ..
Root Access is needed

if=/data won't work, it's just a mountpoint, not the block device. dd dumps files, not directories. Secondly, USB Mass Storage can also be used to mount or dump complete data partition from custom recovery directly to PC.

I'm sorry, I didn't realize you are using a Custom Recovery... That's extremely simple, just back it up ! .... I know if=/data won't work, that's why I said find the by-name directory.

I have a perception that nandroid backups (usually created by tarring) contain only files/directories, not the inode level details of block devices that's required to undelete something.

No don't use TAR, use DD or Cat to create the image.

you misunderstand the naming, dd does not work on directories only on files, by-name is a symlink to a file not a directory. on linux everything is a file. if= stands for input file

Ah yes... 'cat' is correct and ( by-name ) gives you a file representation of the .img ... A file.


text:
How can I stop my apps from updating automatically (Google Play Store settings do not work for all apps)?
I have set Auto-update apps to "Don't auto-update apps" in Google Play Store.
That works for the majority of apps (except the Play Store itself).
However, according to my security software (Avast), some apps, installed after I set this setting, still update in the background, for example the YI Home camera app. "Enable auto-update" is not overridden for this app on its own page in the Play Store.
Other apps have similar behavior. Is there a way I can stop this rudeness for all apps? Thank you.

don't know if this helps you, if you're rooted you can use titanium backup and freeze the play store and services, no updates then and unfreeze when you need it (I do this on my phone)

If the apps are auto-updating than the moment you would freeze Store and Play Services it could update the app again. Furthermore, some apps are hopelessly dependent on Play Services to function.

source: Stack Exchange

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

sort: votes


text:
Is it possible to have a specific app make noise and vibrate even when the phone is on silent?
When I go to bed for the night I usually put my phone on silent without vibration, so that I don't get disturbed by constant notifications from meaningless things overnight.  However, I have an app that is used to alert me when I'm on-call at work, and I'd like that app to always have a notification sound and vibrate, even when the phone is on silent, so that it wakes me up if it goes off at night.
Is this possible with Android? I'm using a Galaxy S9 with Android 8.

How does that app alerts you? If it posts a notification than you can setup an automation app like MacroDroid to detect a notification from that app, remove DND or your silent preference, make a vibration along with a custom tone of yours and than restore your silent preference.

@Firelord it posts a notification. I'll look at MacroDroid. Is it like Trigger or IFTTT?

I am aware of neither. But it is powerful. Another and more powerful alternative is Tasker. Its trial version can be found on its website.

@Firelord Trigger is a lot like Tasker. Thanks. This might be the way to go.

Let us know if it works out for you. :)

I know this is late... but you could consider using "Do Not Disturb" (search in settings) instead of silencing your phone. Then you could go into the notification settings for the app and allow it as an exception to Do Not Disturb.

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


text:
unable to flash stock rom in swipe elite plus
I'm trying to flash MIUI 8 on my Swipe Elite Plus. It fails and the is device not booting; it's stuck into the Videocon boot logo. After that I successfully flashed the Swipe Elite Plus stock ROM, in my Swipe Elite Plus device, but after rebooting the phone nothing happens, it's again only showing the Videocon logo. I mean stuck over here as happen in the MIUI 8 case as well, instead it shows the setup screen of Swipe Elite Plus, the Videocon logo because I installed the Videocon stock ROM earlier in the device for volte update. What to do now?


text:
Rooting ASUS MeMO Pad (Nougat 7.1.2)
I'm a freshman that just started working as a research assistant for my school's computer science department. My advisor is having me root some Asus tablets and install Lineage OS 14.1, and I have been having some issues. I have tried a lot of different softwares such as Framaroot, Kingoroot, One-Click-Root, and basically anything else I could find, and everything either wasn't compatible/wouldn't work or cost like $30. Thanks in advance if anyone has any advice!!

Whats the model number of the memo pad?

I remember the number K013 but not sure if that was the model number or something else. I don't have it with me currently, but I work in like an hour so I will check then!!

Sorry for the wait there but it is K013!

Look for an unofficial TWRP custom recovery for the Asus  k013 on like XDA flash it through the bootloader. Next, look for the latest version of Magisk systemless root and flash it through TWRP.


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

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

Windows 10. And ok I will try this

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

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

Does this work with android 9 too?

Yes it does after you upgrade your emulator

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

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

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

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

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

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


text:
Whatsapp local backup
I recently installed again whatsapp in my new smartphone android but the local backup doesn't work automatically. Today I pressed back up for the google drive backup and it also included the local backup. But for the past weeks whatsapp never did the local backup automatically. Do you know why?

Most likely your phone is a bit aggressive about killing the background tasks. So, WhatsApp is unable to wake up the phone at its usual 1-2AM slot to perform a backup. A lot of phones are doing this to ensure a better battery backup and standby.
Do note that notifications may still flow even when WhatsApp is not allowed to do tasks related to backup in the background. But most of the times, they are either delayed or only show up when you first turn on the phone display in the morning.

Thanks. In case you are right is there something that I might do for this issue?

Depends on which phone do you have. Most phones do allow you to reduce how aggressivly the phone kills the apps. Check in Settings > battery if you have a setting related to background activity. Another (usually different from each other) should be in: Settings > Apps > WhatsApp > Battery > Don't optimize.

Thanks. In my new smartphone under 'battery' it says 'power saving exclusions' but I think it is the same thing.

I tried to exclude power saving features but it didn't to the local backup automatically. Any other possible reason?

Not sure. WhatsApp not running in the background is the only practical reason for it to not backup automatically. I don't have any other suggestions.

I didn't add that my phone is always switched off. Maybe this is the reason whatsapp doesn't back up automatically in local storage?

Well, then that makes sense. You're not having WhatsApp running during its scheduled cron which takes an automatic backup. There's no way to manually assign a time when WhatsApp takes a backup. So, you either have WhatsApp running at that time (phone be turned on) or do manual backups.


text:
Android malware debugging
To understand a malware better when it is running on a device, I would like to get a view of what is happening in the background. For instance if a malware is loading a page using LoadUrl, I want to see the value of the URL being loaded. I felt dynamic instrumentation tools or debuggers will be useful for this but I am having a hard time to get it to work. Any tips on what tools/techniques will help me achieve this  or should I research more on the said methods above? Kindly suggest.

Have you tried Frida? If supports hooking of Java/DEX and native methods. As long as the malware does not use anti-debugging techniques you should be able to attach Frida to it.

Its a good option but I want something generic that I can use for multiple malware. As per my understanding with Frida you need to specify specific methods that you want to overload, which means you need to create a tailormade script for every malware. Please let me know if I am wrong here, I would like to try otherwise.

You are only thinking of the app, however a running app always contains the runtime libraries plus it contains the Dalvik native libraries. Those contain hundred of class and methods that never change (assuming you are using the same or identical device).

True, I wanted to focus on the malicious content of a malware. True that a malware can use native libraries but my focus is more towards the malicious components. However getting more information via native libraries is also a good thing. What do you suggest ?


text:
How to prevent external USB HID devices enable without confirmation
Android support USB HID devices like keyboard and mouse.
If you have a USB-C keyboard, or connect via a USB hub. The USB keyboard will have control to the system, without on-screen confirmation.
I see it is a security risk that public USB charger might have potential access. Even the USB connection mode is "charge-only".
A hacker might have a USB hub, and add a HID to control your phone with a idle delay.
Back to by question.
It there a way to disable that at all at OS level?
If there is no way to have a "pairing confirmation" like BT devices have.


text:
Bluetooth mouse suddenly stopped connecting to Android tablet
I have a Lenovo Yoga Tab 3. I also have a bluetooth mouse, Microsoft 3600. Some time ago (~ 3-4 weeks) I could successfully use my mouse with my tablet. But now, after I do the pairing nothing happens, the pairing seems successful but the mouse doesn't work. The mouse still seems to work normally with OTHER devices because I can use it on my android smartphone and 2 laptops (work and home).
I have tried removing all bluetooth devices, by all I mean two devices: my bluetooth keyboard and the non-working mouse, and I also tried a factory reset.
I also did what is described in this article, but it didn't help.
I started connecting all the bluetooth devices I have, they all work correctly, except the mouse. I also noticed that on the tablet it doesn't say connected near the mouse:

Try deleting all paired connections on the device maually or by deleting cache and data of Bluetooth app and pair again

How do I delete the cache and data of Bluetooth app? BTW: I've performed a factory reset also

Factory reset takes care of it (sorry, missed that) . Aside, by going to apps and from 3 dot menu (depending on your Android version) selecting to display system apps >clear storage >cache and data

No, factory reset didn't help, I also cleared the data and cache of the Bluetooth Share app.

I am out of ideas. All the best

does the Bluetooth used batteries in that case change the batteries because the battery power for Android could be more

I tried the batteries, no luck!


text:
Any way to scroll browser or page w/ volume buttons?
I"m using Oreo on a Nexus 6p, and read online a lot. Is there any way without rooting that a web browser can scroll or page with the volume buttons?

https://android.stackexchange.com/q/56561/96277

Not when the reviews for the app include "Buggy when switching to recent apps on volkey enabled apps", "Simply non-functional, waste of time", "Very buggy, doesn't scroll up, in chrome is hit or miss, same on feed...", and "Jittery. More effort than scrolling".


text:
Is it safe to enable Clean Master service?

The above are capture of Clean Master that asks for service enable. Is it safe enough to turn the service ON?

Fun Fact: My Samsung Galaxy S3 came with Clean Master pre-installed back in the day. Didn't take me long to figure out it didn't do anything and not long after that promptly removed only to learn later it wasn't just bloat, but questionable.

The developer of that app, Cheetah Mobile, has been accused of committing ad-frauds. XDA has it covered in detail here. I would suggest to refrain from using any product from such developer. If you can remove such an app or at least disable it, than consider it.

And technically speaking, such apps do nothing special that can't be done manually, except using device resources in background continuously and showing useless notifications and activities.

Thank you for that your info. I mmediately remove it after I read your link.

Thanks for your warnings against Cheetah. History catches up with them based on a new report out about Cheetah, and Google Play actions against them. See this: https://www.xda-developers.com/google-bans-600-apps-play-store/.


text:
How to check what is wrong with my mobile connection?
I have a Samsung J3 and recently I notice some irregular 'blackouts' in the mobile connection. Suddenly, the connection is completely interrupted, then the connection is really slow (like 1.9 Mbps in the center of Geneva!), and then it works just fine (with download speeds  well above 10 Mbps).
I restarted the phone, select 'Select automatically' in the available network settings, and talked to the provider. They admitted there was a network problem, but I am using it at two very different places.
So how to find out if it is my phone or the network?

I don't have that model device accessible to verify the accuracy/currency, but here is a site that specifies test codes for Samsung J3.  In particular, I believe #5 & #6 would offer diagnostic data in regards to cellular network (YMMV based on carrier / geography).
That said, what you are able to interpret from said data would be another story all together.  As @Robert suggests, it may be simpler to first eliminate possible scenarios using other devices you may have available.  There may also be applications that can give more verbose information than the test menu cited.
Here's another resource for you to review in regards to your network settings configuration as specific to your mobile carrier.
I hope that helps, and good luck!

Tracing networking problems in mobile networks is pretty complicated.
Therefore from your perspective there is only one way to find out if it is your phone or not: Use a different phone (different model preferred) using your SIM card at the same places.
If you encounter the same performance drops you know that it is not your phone. If not it may be your phone but that is not for sure.


text:
Looking up words easily in the dictionary
Would it be possible for an entry to be installed on the menu that shows up when I highlight a word, so that I can look up the word on a dictionary, for example from an installed app such as Merriam-Webster dictionary. The app could show the definition inside a bubble.
If course, the installed app would have to support this, and install the behavior onto the operating system UI.
How can I achieve the behavior I'm looking for?
Thanks.

This dictionary adds an entry in the context menu to directly search a word when highlighted. https://play.google.com/store/apps/details?id=com.vaibhav.dictionary&hl=en&referrer=utm_source%3Dgoogle%26utm_medium%3Dorganic%26utm_term%3Denglish+dictionary+android&pcampaignid=APPU_1_Wj5wXMCJFYb4rQGIpJXwDQ

There are many as you can see here. Last one on the list I used for a while and is good. But none of them can let you select a dictionary of your choice - they have their own inbuilt dictionary


text:
Caller cannot hear me. Microphone works
People over phone calls or whatsapp calls cannot hear me, or barely, if I shout out loud.
But the microphone works. I can make records and hear them from far.
Already set to max at Settings > Sound And Notifications > Acessories Configuration
Xperia Z3 d6633
Android M 6.0.2

This happened to be the case with my Nexus 6 too. But the other party could hear me if I turned on loudspeaker. Is it also the same in your case?

Indeed. Tested on whatsapp. It works. Probably does for calls. Now the problem is I cannot answer in public this way.


text:
Reinstall app removed via ADB
I removed 'MusicFX' via
adb shell pm uninstall --user 0 'musicfx package'

And now I'm having issue with playing Bluetooth media audio, so I thought maybe it's that
Can it be reinstall, maybe an ADB command? The APK is still in /system/priv-app, but trying to install from there won't work (says app not installed)

Try to install it using adb shell pm install /system/priv-app/PATH_TO_APK and note the error. If an error do shows up, try it again but also monitor logcat using adb  logcat -v long

Will do next time I have access to a pc

adb shell pm install-existing com.android.musicfx


text:
How to let apps think phone as a tablet?
I have a Phone which has snapdragon 845 chipset on it.
I've never noticed any lagging issues on this device which is far   better than most decent TABs.
But because of mobile, i saw some features on ROBLOX is  missing that is appear in Tablet.
So, can i modify something which may required root access to  bring those features on it?

Possible duplicate of Fooling a tablet into thinking it's a phone so that Amazon Prime streaming will work

Not exactly what im looking for!

Changing the DPI doesn't work?

If you are talking about a specific app you should always provide a link to it on Google PlayStore.


text:
Create, edit, and sync-with-PC txt file on Android
There are many apps that allow us to take notes on android.
But just like this thread (Is it possible to create a plain text file in android?), I want to create and edit plain txt file on android.
But moreover, I also want to automatically sync with a txt file in my PC. Ideally, dropbox. So ideally, I edit txt file on my PC then the edit will sync to my Android phone, and vice versa.
But if this ideal solution (dropbox solution) is not available, then I am fine with less ideal solution which will sync txt with PC.

Give Standard Notes a try. Works on multi platform, syncs across all platforms, permits tagging, encrypted, and open source. Don't be discouraged by Beta in the description. It's perfectly stable and I have been using it for nearly two years.
Pro version (expensive) does much more. Sync to Google Drive (also Dropbox if I am not mistaken is a pro feature) but you may not really want that once you see the way app does things.


text:
How would I automate repetitive tasks in Android?
There are many tasks I do repetitively, like connect a Bluetooth headset or connect to a hotspot.  How do I typically "code" this?  How do I execute?
Is there a consistent library or package manager, or do I have to collect from everywhere?
Any community projects?
Anything that works consistently over several platforms?
Is there some framework to execute over several devices?
(In the Bluetooth example I might want to disconnect other devices at the same time)

I think you can use automation apps to accomplish what you asked. However, the example given is not detailed enough (what other devices or actions do you want to automate? ) for me to be 100% sure.

@ReddyLutonadio Use case: disconnect existing sound devices connect to a known already paired Bluetooth Headset with spesific settings.

@ReddyLutonadio In the above case it could be useful to have other devices disconnect from the headset at the same time (Mostly Android, also Wondows)

A great app for that is Automate. I've used it with great success. There are a few plugins that exist; you may or may not need them
The main app is here
Based on your use case, you may want this,  this and maybe this extensions but it all depends on how you use the main app

This showed up when I googled the issue.  I kindof thought that scripting should be more powerful, and also that a community project could do more (Like supporting different devices)

@Olav for what it is, it works really well

Please note that the solution from the other answer is not free. If that's your thing, though, go for it

Thanks.  On a first look, it looks more like a community thing?  I don't mind paying, but a community project should be better for this purpose.  (And also it should be mentioned)

@Olav if I'm remembering correctly that is true

The best one I've ever come across is Tasker. It isn't necessarily coding but you do get to script your tasks in a scratch fashion. Although I don't see how it might be different from Automate which is another great choice.
Tasks created for tasker can also be download from the internet of which Tasker Wiki is my favourite source.

The true strength of Tasker is the number of third party apps with links to Tasker.


text:
How to change the modified date of a file without root?
How do I change the modified date of a file, specifically PNGs, on Android without root?
Total Commander failed to do it with a permission error Access Denied.

SHORT ANSWER:
You can simply touch the file or provide any time and date in past or future:
~$ touch /sdcard/test_file
~# debugfs -R 'stat media/0/test_file' /dev/block/bootdevice/by-name/userdata | grep crtime:
crtime: 0x5c926e0d:2d61b810 -- Wed Mar 20 21:45:01 2019
~$ touch -d '2009-2-13 14:32:55' /sdcard/test_file
~$ stat /sdcard/test_file
[...]
Access: 2009-02-13 14:32:55.000000000 +0000
Modify: 2009-02-13 14:32:55.000000000 +0000
Change: 2019-03-20 21:45:38.067021025 +0000
 Birth: -

Some file explorers like MiXplorer also have options to change Modified Time.
You don't need super user privileges to change mtime. Only the file should be writeable by your user ID (app in case of Android).
DETAILS:
touch uses utimensat to update time of access (atime) and modification (mtime) provided that filesystem supports the timestamps be saved in inode along with file's data.
Birth/creation time (btime/crtime) - a part of extended file status which requires at least 256bytes inode size - is not standardized, thus rarely supported by filesystems. In above commands debugfs is used with root privileges to get creation time of file on ext4 because some stat binaries aren't updated to use statx yet (requires at least Linux Kernel 4.11), so btime is empty.
Both btime and change time (ctime; inode/metadata modification time) are supposed to be handled by system, not simply changeable by user.
Since Android is based on Linux, it inherits the concept of inode and timestamps from UNIX world. Common Linux filesystems like ext4 and f2fs support timestamps, including the emulated filesystems used by Android on SD cards. Other OS and filesystems have similar concept with slightly different terminologies. E.g. on Windows' NTFS, MFTEntry Modified time is very identical to UNIX's ctime.

touch -m wasn't working for me today where android phone is mounted using SSHFS on Ubuntu 16.04.6. However files copied to the phone OK. Most puzzling...

@WinEunuuchs2Unix that must be due to your SSHFS permissions (FUSE mount options). Android's emulated filesystem is quite tolerant. It even allows touch -d even if you are not the file owner (since all files in /sdcard are owned by root). On normal *NIX filesystems utimensat/utimes have strict permission requirements. Btw did you mount /sdcard or /data/media/0 on SSHFS?

This is most embarassing. Touch does work manually just not within my python program when file server touches phone. Touch phone to file server works. Grr three times I've run this two hour update over WiFi. Back to the drawing board. My Mount is: echo rick | sshfs -o auto_cache,reconnect,defer_permissions -o Ciphers=aes128-ctr -o Compression=no -o password_stdin -p 2222 rick@192.168.0.11:/ /mnt/phone File server mount is different defaulting to port 22 and not nearly as complicated.

I spoke too soon. Manually touch -m .... the files on the SDCARD no longer appears to work either. Definitely have some homework to do.

It appears it's a bug in Android where you can't set the modification time. Not just my version 6 but even version 8:https://freefilesync.org/forum/viewtopic.php?t=4311 The only option is to root the phone but I'm going to change my program instead to not sync to Android devices based on modification time. Such a shame a Linux system got crippled by Google in this fashion.

@WinEunuuchs2Unix interesting find. I've a few queries now. Did you try both paths (the emulated one /sdcard and the actual one /data/media/0)? Did you try on device too (e.g. through Termux or adb shell) on both paths? If the problem is only with emulated path, is it FUSE or sdcardfs? Did you try with root privileges too? Does the bug occur without -m -d too i.e. when changing both atime/mtime to current time? Can you share strace of failed command to figure out what syscall fails with exactly what error? Thanks.

I've actually moved on and created a file shadow system with the correct modification time. Other errors reported here: https://issuetracker.google.com/issues/36930892 I tried root. I tried -m -d. Only using SD Card with fusermount. As I said it can write files no poblem. Untarring a file doesn't honor modification time, it gets curretn time. I tried access time and creation time as well.

BTW the phone is not plugged into my laptop or file server for that matter. It is running SSH Open Server (provided by Banana Studio) over WiFi. There is no /data/media directory or /run/gvfs (whatever) directory. It is mounted as if it were a normal drive like ext4 or NTFS or what have you. As I said I can copy a file to it and it gets current time. cp --preserve=timestamps is not honored. touch is not honored. The Android OS is simply broken when it comes to modification times.

Total Commander - file system - mark one or more files - long touch - properties - change the displayed date to what you need (there is also a "Now" button) - Save - voila !
BTW Total Commander is an excellent tool - in all areas and on all platforms !

Works great (Android 11)

I think the phone still needs to be rooted.  I tried this on a Moto and received an "Access Denied" error.


text:
Cannot decrypt partition with TWRP
I have a S9 with LineageOS on it and I cannot mount the data using TWRP. I had MobileIron on it but uninstalled that as it started crashing. I'm not sure if the two are related or if there is something else up..


text:
Fine-tune/calibrate system-wide tap vs swipe detection
I've had to replace the screen and touch assembly on a device I have but now the new hardware is too noisy: most of my taps end up being recognized as swipes or flings, making for a very frustrating experience.
What can be done to fix this? An ideal solution would be to fine-tune the gesture detection logic to be less restrictive on what is considered a tap, interpreting fast short-distance flings as taps instead.
Any solution that involves root, xposed or recompiling the OS with suggested tweaks is welcome. The device in question runs LineageOS 15.1, based on Oreo.

There are many apps that target this specific issue available through the Play store, and many of them do not even require root access. The search term I would recommend that you use would be "screen calibration" or similar; due to the sheer volume of them, I won't suggest any in particular but I have tried multiple myself throughout the years (while exercising common sense, e.g., checking reviews prior to downloading) and they seem to do the trick perfectly. Some are targeted toward mobile repair technicians and come with multiple utilities and test functions (such as for other sensors and screen functions), I tend to find these more "trustworthy" in that the targeted consumers are able to leave more competent and detailed reviews.
Edit: @And0réCarini I know some of them do work, typically the type that has you tap a target within four quadrants of the screen, and it typically does not require root.  However, please note that 1) dependent on the cause, sensitivity might not be the issue or what needs to be adjusted, and 2) depending on your device model, there could be other variables at play (e.g., Samsung Note devices have two separate digitizers, one for the stylus and one for finger touches).
It may benefit you to first activate developer mode and enable the show screen touches option to see if there are any visual clues as to what's going on.  You can also access your device's diagnostics mode (aka, [advanced] test menu, example) to see if the touch test can help identify any further details.  And, if on the off-chance it is due to a faulty / damaged digitizer, as a temporary measure there are apps available that allow you to custom set boundary areas on your screen that will block touch inputs, which can mitigate unintended input behavior (assuming it's stemming from a contained localized area).
Finally, I was able to find this post (root required) in regards to a potential method to adjust your touch sensitivity, but please note this is specific to the Pixel 2 XL so YMMV.
On a separate note, it seems that the minimum distance for swipes to activate are determined by the application's code (see here and here); as the distance is predetermined, I would infer another possibility aside from a sensitivity issue may be a multi-touch issue causing a false swipe input to be registered; my above suggestions may help confirm or eliminate that possibility.

I've tried a few and noticed no difference; I don't know either how any of these apps (especially non-root ones) could tweak the gesture detection mechanism system-wide. I'm inclined to think they're pure adware.


text:
Can't sync data
I keep geting a message like this "Can't sync data; Not enough space on your phone".  I added extended memory. How can I take from the main memory and put on extended memory? Can Someone please help me? Samsung SM-J320W8

Have you moved all of your pictures over to the SD card?
It works for other things too like videos and documents, but not apps, I believe.
If not, try this:
1 go to your file app.
2 select your photos
3 hold down on them and hit more(or 3 dots if you use most 3rd party file explorers)
4 select move (not copy)
5 navagate to your SD card and select ok


text:
Smartphone USB issue
Whenever I connect my Motorola turbo phone to my computer, it is not functioning properly.
In development settings, I have debugging and tethering on

Connect the usb and there will be different option available
Charging
Data transfer
Etc
Select what do you want to do .
If these are not available it means that your usb cable is not working perfectly


text:
Screen offset when running some Android apps on PC (not Chromebook)
I installed Android onto my laptop so that I could play a game called Psych with my brother.When I launch it, the screen is shifted to the right and the mouse is limited to the area of portrait orientation (see image).

My theory is that the app is a portrait app, but when it is displayed on a horizontal screen (like a Chromebook), it will stretch out these edges so that it doesn't look bad and the user can just click the important things in the center (that is why the mouse is limited to the portrait area). But for some reason, when it launches on the computer, it will be forced to start displaying from where the portrait apps start from, causing it to shift over.Please inform me, if my theory is correct or if it doesn't work for another reason, what the reason is, and most importantly, tell me how to fix it. Please ask me if there is any other information I should provide.

"I installed Android onto my laptop" -  What do you mean by this?  Are you running Android in an emulator or a virtualized environment perhaps?

@CzarMatt I installed the iso

Forgive me, I still don't see what you mean.  "I installed the iso" - was that the game or Android itself?  Did you install Android, as in the Operating System on PC (laptop) hardware?

@CzarMatt Android itself

Before we address your theory and subsequent request for a fix, we need to establish some basic info about Android.
Firstly, Android is a Mobile Operating System.  Your laptop is most likely more closely related to the common desktop/personal computer type of operating system.

"While computers such as typical laptops are 'mobile', the operating systems usually used on them are not considered mobile ones, as they were originally designed for desktop computers that historically did not have or need specific mobile features."  --  https://en.wikipedia.org/wiki/Mobile_operating_system

As such, your laptop's hardware is not the best host for the Android OS.  Since Android is built on top of the Linux Kernel, it usually is built to contain just enough hardware configuration and driver support to function on its intended build target or host device - usually a mobile phone or tablet.

"While the Linux kernel contains code for all the different chip architectures and hardware drivers it supports, an individual system runs only a fraction of the codebase. An average laptop uses around 2 million lines of kernel code from 5 thousand files to function properly, while the Pixel phone uses 3.2 million lines of kernel code from 6 thousand files (due to the increased complexity of an SoC)."  --  https://source.android.com/devices/architecture/kernel

This means that the Android OS you installed on laptop hardware is doing its damnedest to actually function.  The stripped down Linux Kernel now driving your laptop's hardware more than likely is falling back to generic drivers with limited feature capabilities.
Secondly, your laptop probably has hardware features not usually found in native Android - and conversely, the Android OS looks for mobile-centric hardware features in order to, for example, render the UI.
Which brings me to your first inquiry;

My theory is that the app is a portrait app, but when it is displayed on a horizontal screen (like a Chromebook), it will stretch out these edges...

This has a grain of truth in that Android doesn't know how to properly drive your laptop's display.  Android has tons of sensors, including a bevy of Motion Sensors that help Android decide on configurations screen orientation.
Since among other things your laptop lacks these sensors, Android cannot determine in which orientation to display the user interface.  The Android OS you installed is probably having difficulty ascertaining other display hardware attributes such as pixel density, resolution, color encoding, screen size, etc... hence the "stretched out edges" you note.
Finally;

tell me how to fix it

You're more than welcome to contribute to the Android Open Source Project while simultaneously building your own custom Linux kernel with help from around the Internet.  Though this is an utterly daunting task for even seasoned developers.
A better option, in my opinion, is to reinstall a more appropriate Operating System for your laptop (e.g., Windows, Ubuntu, etc...) and simply run an Android emulation software suite such as BlueStacks 4 or Nox Android Emulator.


text:
Google Services Framework repeated pop up and how to stop it?
So my LG Android lite keeps appearing a pop up that says "Unfortunately, Google Services Framework has stopped". I have checked here for solutions but my device has one more issue, anytime I open any of my apps it crashes and says it also has stopped working. This means I cannot even open my settings to uninstall anything or force stop anything. Looking for help as I can't use my phone at all!!!

This is an older device? You may need to see if you can manually update the Google apps. If it is older, you will do yourself a favor by getting a new device. I can't explain any further as I suspect it might get too complicated for you.


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

FYI, the Default, Comfortable or Compact choices refer solely to the density of the messages grid/rows, not the overall appearance/color scheme of the app.

For the Android App, click the 3 horizontal bars (top left) -> scroll down to Settings -> General Settings (the top option) -> Conversation List Density (Default / Comfortable / Compact.)
It took me forever to finally find this setting! It was driving me crazy.

Extra level of difficulty — in another language this setting might not mention density at all. In Russian it says something like "mode of conversation chain". That makes sense...

Click the gear icon in the top right corner, select "display density," then select your choice. By the way, I think "compact" is the most space efficient and most like the original gmail display.

Hey Maggie, welcome to the site, and thanks for the answer! What you say works in a desktop computer.. I am asking about the Gmail app, I will edit my question, and +1 to you, since future readers might benefit from your answer.


text:
Android 6.0.1 Mysterious "Videos" Taking Up Space
I have been made confused by the Storage Info of my phone since it shows 3.16 GB of videos took up my internal space. But then I checked, the videos not even passed 250 MB in total size.
Can't seem to find the solution in the Internet yet, I've been searching tho. I am using Venus phone by Vestel (a Turkey's made)
Preview:

Update 1: The result I got after using Disk Usage app:

Update 2: The result I got after using SD Maid app:

Update 3: The result I got after using Termux app with first given command:

Update 4: The result I got after using Termux app with second given command:

Update 5: The result I got after using 'dumpsys' command on my PC connected to my phone by means of USB Debugging:

Update 6: after redo commands of 1st and 2nd but with adding 'grep'

Update 7: result of commands 'dumpsys -l' and 'dumpsys diskstats'

it's been days and i think the only way i can get more information of this problem is by rooting my phone

HOW FILES ARE CATEGORIZED ON ANDROID?
Let's simplify things. You tap a text document, it opens with text editor. You click on a picture, it opens with image viewer. Whether to open a file with a document viewer, or a photo editor, or a media player, or something else, is determined by MIME type, or Media Type, or in simple words File Type.
The simple and easy way to determine file type is the file extension; we know a file ending with .mp4 is a video file. That's how Windows set preferred program to open a file. *NIX operating systems usually rely on file's magic to determine mime type. That's what file command does. Android's toybox file doesn't seem to have a large collection of magics, so the primary source to guess file types on Android is file extensions.
That said, the size of Videos that appear under Internal Storage usage details, is the total size of files which have mime type video/*, based on extensions vs file category mapping used by Settings app (1, 2, 3, 4, 5). If you think the size shown is inaccurate, you can cross check yourself. Use some app or simply a terminal emulator like Termux to find all video files:
~$ find /sdcard/ -type f | grep -iE '\.wrf$|\.movie$|\.wvx$|\.wmx$|\.wm$|\.asx$|\.mng$|\.lsx$|\.lsf$|\.mxu$|\.qt$|\.vob$|\.mpe$|\.fli$|\.dv$|\.dif$|\.dl$|\.mpeg$|\.mpg$|\.mp4$|\.m4v$|\.mov$|\.3gp$|\.3gpp$|\.3g2$|\.3gpp2$|\.mkv$|\.webm$|\.ts$|\.avi$|\.wmv$|\.asf$'

* If using Termux, grant Storage permission to allow /sdcard access.
This will find every file on you storage which is considered video by OS, though one might not be a video in actual and just disguising itself with a video file extension.
To find out individual file sizes and total size, extend the command a bit:
~$ find /sdcard/ -type f | grep -iE '\.wrf$|\.movie$|\.wvx$|\.wmx$|\.wm$|\.asx$|\.mng$|\.lsx$|\.lsf$|\.mxu$|\.qt$|\.vob$|\.mpe$|\.fli$|\.dv$|\.dif$|\.dl$|\.mpeg$|\.mpg$|\.mp4$|\.m4v$|\.mov$|\.3gp$|\.3gpp$|\.3g2$|\.3gpp2$|\.mkv$|\.webm$|\.ts$|\.avi$|\.wmv$|\.asf$' | xargs -I {} du -b '{}' | sort -n | awk '{sum += $1} {print} END {print sum}'

* All commands are very basic, usually part of busybox distributions.
This will show the individual and total file size in bytes. Convert that to MBs or GBs, and that should match the size appearing in Settings. In the same way, you can calculate size of other file types like audio and images.
The same categorized files can be viewed in the left menu of Android's default Files app (at least on Pie). However there could be possible differences. For instance, a file with .mpe extension will reflect in videos size shown in Settings, but won't appear under videos of Files app or other gallery apps. It's because the file extension vs mime type mapping which media scanner uses doesn't include .mpe extension in video category. In addition to file extension, media scanner takes further steps to segregate files for default apps and preferred activities.
Another way to get total size of video files is dumpsys diskstats service which reads from file /data/system/diskstats_cache.json. DiskStatsLogService runs once every 24 hours when device is idle and charging, and the extensions vs file category mapping it relies on is similar to the one used by Settings. So the sizes should be same when diskstats_cache file is updated:
~$ dumpsys diskstats | grep Videos

RELATED: How disk space is used on Android device?

What else is on your sdcard? Output of find /sdcard/ -type f | xargs -I {} du -b '{}' | sort -n | awk '{sum += $1} {print} END {print sum}? Remove any personal data from output if necessary.

I trima and no result,  just empty at sir

You don't have a single file in /sdcard? How's that possible!

I myself do dont understand that either. After i pasted the command into Termux then i pressed Enter, it outputted nothing.


text:
Send fake sensor value to an Android real device
Is possible to simulate an event on a Android real device?
More precisely, I want to test an application which does something if a particular temperature value is detected. Is there an adb command, or somethings else, to send a fake sensor value to the device in order to check the application behaviour?
Thanks.

If the device is rooted you could try the Android Event Injector - not sure if this old project is still usable on recent Android versions.

There is an Xposed module which can do so. https://forum.xda-developers.com/xposed/modules/mod-disable-proximity-t2798887/post53766106#post53766106#. Also see https://stackoverflow.com/q/3921467/4720957

Unfortunatelly my device is not rooted hence I can not use Xposed.

Specifically what sensor ?
If you are simulating a screen press, then yes.
If you are simulating a temperature for your CPU, probably not.
It depends on the level of safety In my opinion, if your just mocking GPS locations, not a big problem... However if your trying to mock temperature readings or something that might cause hardware failure's... it may not be possible.

Unfortunately I would be interested at temperature and pressure sensors.

I'm fairly sure for user safety reasons, that this is the hardest form of sensor data mocking.

For example, a CPU set to 0° temperature, could potentially expose your lithium based battery to unnecessary heat, that could potentially end in a life threatening situation or an extremely dangerous one... Lithium mixed with oxygen creates explosive gas, the heat source ( CPU ) is usually directly under the battery compartment and ... If the correct situations are met, goodbye hand, or face, or stomach... i personally was interested in a CPU Cooking software that I was trying to build for tests, however it's extremely hard to mock temperature readings... Pressure readings may also be risky

I understand the subject, but I don't think that the environmental temperature may be cause this problem, but i don't understand why Google doesn't provide some way to simulate these values as well.


text:
Audio files disappeared from S8!
Don't know how long ago the files disappeared or whether it has to do my the Oreo upgrade recently; or using the phone's "fix now" button to delete leftover files; but the audio files that were less than a minute long in length have disappeared from my S8.
I always used Solid File Explorer to search for the files when I wanted to listen to them but today when I searched for the files they are all gone!!!
Freaked out as the files cannot be downloaded again as they were deleted from sites long time ago.
So what caused my files to be deleted? I want to avoid this in the future.
S8 on Oreo

If you want to avoid it then back stuff up (at least two backups).

@CmosBattery but why is the "fix now" feature on Oreo deleting files I downloaded to keep?!  Thought it was for garbage files. Figured out that was the cause & have now stopped using that feature.

I've not lost files from fix now on Samsung devices. Fix now can reset app(s) such as Flipboard (left from home) - suppose if the files were attached to an app in a similar way that fix now could remove them then perhaps that's it.


text:
Bypass FRP lock, SM-T285
One of our employees has had signed in with her Google account on a tablet (SM-T285, organizational one, and I didn't know that). Now she isn't here and we don't have access to her. Because she had had set a screen lock (and also many other customizations), I preferred to do a factory reset to make it totally clean. Now I am stuck in initial setup and need that Google account. How can I bypass this? I have googled a lot, no luck.
Thanks
EDIT: I have seen other posts, but none of them works for me. Connecting USB via OTG doesn't open explorer (Cable is OK). USB debugging disabled by default and no fastboot.

Welcome to Android Enthusiasts! Have you checked with other answered questions tagged frp? See e.g. How to bypass “Verify your account” (Factory Reset Protection)

@Izzy I have editted. Please unmark my question as duplicate.

Please be aware that you must delete ALL Google accounts on Android, prior to doing a factory reset.

@Zillinium I know that, but in this case I haven't have done.

This may have been an expensive oversight.  Please try to make contact with the former employee, this should be your first action... If the employee has breached any terms of usage or contract by doing this, they may be liable for the "Damages" .. I understand that the device may not be physically damaged,, however it has been locked to her personal email account and therefore removed the ability of the entire devices usage... It is similar to me setting a bios administrator password on a work computer, to specifically render the motherboard useless.  I know you can reset the bios.. still...

@Zillinium We tried contacting her, no luck. Totally inaccessible.


text:
Signal Private Messanger - Permissions?
RedPhone and TextSecure was migrated to Signal, but I'm a little bit worried about all the permissions Signal app requires. Why does signal require ex. location and calendar? I have tried to search for it, but cannot find any information about it.
Signal Private Messager required permissions:
Device & app history // Identity // Calendar // Contacts // Location // SMS // Phone // Photos/Media/Files // Storage // Camera // Microphone // Wi-Fi connection information // Device ID & call information // In addition to «Other» permissions.
Can anyone explain to me why this app needs so much permission?

As @CodeMonkey suggests, the location permission is used to determine your location when sending messages. (Which, to my mind, is quite crazy and one of the reasons I don't use the app. There are plenty alternatives out there, especially ones that can be used w/o providing a phone #.)

Signal is a modern Android app which uses the dynamic permission system that is available since Android 6. Therefore you can disable all permissions you don't want Signal to use (like location) in the Android settings.

There are certain APIs that they need to utilize in part of the code, which requires the permission to be granted. It may not be necessary for that API to be used, which is why apps still function if they lack permissions. They use alternative means or do not do anything because of that.
Identity, Contacts, SMS, Phone, Photo/Media/Files, Storage, Camera, Microphone, Wi-Fi. All of these are pretty much essential for running the basics of SMS messaging with few exceptions. Contacts helps for sender/receiver identity. P/M/F, Storage, Camera, Microphone are used for sending media, files, or taking media to send. SMS and Phone for the actual transmission of SMS. Wi-Fi is probably used to help identify if the phone is Wi-Fi connected or not for transmitting messages.
Calendar: This is probably used to help with setting calendar events when messages containing date information are received.
Location: As far as I know, messages are sent with location data unless not given the permission to access that information.
As for some of the other permissions, they appear to be things that help with how they send data across. The rest seem to be tidbits that help you do things faster or provide an alternative way to do something, like set wallpaper.
If you have a more specific permission you are worried about, I will do my best to add information about what it might be doing with it.

If I unterstand the source code correctly locations can be sent as attachment. But that is a user choice and does not happen automatically. If someone thinks I am wrong please point me to the corresponding source code section: https://github.com/signalapp/Signal-Android


text:
Samsung Galaxy J1 bootloop after flashing SuperSU
I can't turn on my Samsung Galaxy J1 (SM-J120G) running on Android 5.1.1 Lollipop after I did the following actions. I flashed TWRP using Odin, then flashed supersu.zip with TWRP (latest version of SuperSU), then I rebooted and stuck with the SAMSUNG logo.
I removed the battery, again inserted, and went to the TWRP custom recovery, then I did a normal reset without changing any settings. The phone shows the boot screen and Samsung animation, but after that, the phone boots again from start. This process repeats infinitely.
Please help me fix that.

Download UPDATE-unSU-signed.zip, flash it in TWRP, wipe cache & dalvik, then restart the phone. Flash magisk if you SuperSu is not working for you.

Community bump prevention: this question was closed because the question seems to have been abandoned (OP hasn't joined the site after the question was migrated, and no answers have score above 0). If anyone can evaluate the existing answers, feel free to vote accordingly and reopen the question (or mod-flag the question requesting for reopening). For anyone else having the same issue, please post a new question and refer to this question as additional context.

Samsung is notorious for boot loops. You are having problems with the system integrity check that's run by the kernel. You need to install a systemless root. Magisk uses systemless root, however, I prefer SuperSU.
You just need to install the correct systemless root zip. I have a SuperSU installer for Android 5.1.1, SuperSU v2.82 Systemless. For some strange reason, I was able to enable full root access after installing the systemless zip. To enable the full root like I did, you need TWRP 3.2+:

Open TWRP and install SuperSU with TWRP (install full root using TWRP)
Do not reboot yet, install the systemless root zip, it will automatically change to "system root mode" and install root access bypassing the systemless install.
After literally 10 minutes of boot time, my device boots with full root access.


text:
Android sendevent command not work until finger touch once
I want to use sendevent command to simulate touch event, I followed this link, and it works.
Use getevent to record, then use sendevent to repeat them, code like below, it can tap position 540 1802.

  sendevent /dev/input/event1 3 57 0
  sendevent /dev/input/event1 3 53 540
  sendevent /dev/input/event1 3 54 1802
  sendevent /dev/input/event1 0 0 0
  sendevent /dev/input/event1 3 57 -1
  sendevent /dev/input/event1 0 0 0

There's only one problem, if device reboot, sendevent won't work, I have to use my finger to touch screen once, then it will work again.
How to let it work without any manually touch?

It may be a certain flag like "user active" .. You may need to simulate a key input, or something to trigger the "user active" flag.

I think your comment may be a reason, but do you know more details? I have no idea how to active device. No password is set on this device, it will go to launcher directly, I also tried to set password and enter password via input command, sendevent still won't work after unlocked.

I'm not sure what would cause it other than some sort of User Active check... I can only think of a few ways programmatically that would work. .. Maybe the input hasn't been initiated yet and it requires a start of input prior to sending events to it... for adb I use input tap 540 1802... So full command would be adb shell input tap 540 1802 ... Maybe try this first before sending more events... Not sure.

Even input tap first, sendevent still not work. OK, thanks anyway.

I can't find anything relating to this issue, it may be device specific.

Just skittering past while trying to to figure out a different problem - I realize this is very old, but just thought of this, and just in case - it's possible the touchscreen requires/does some sort of dance on the first tap event. If this is the case then replaying the firehose that happens on first touch after reboot may jog things into cooperating. (Ideally you'd then whittle down the minimum sequence necessary to make things work over a series of patience-trying reboots :D)

(It is also sadly quite possible a physical-tap flag was involved here somewhere, to try and make fraud etc trickier. Possibly)


text:
Is screen mirroring only possible on enabled devices?
I've owned an LG GX2, LG V20, and an LG G5m out of which the GX2 had a micro USB port to charge and a micro HDMI for video output, and the V20 and G5 had video output through USB type C to HDMI. I've recently got an LG G7 or whatever it's called, and it no longer works. I've read several articles that suggest that with the right combination of cord/adapter that any Android could be mirrored through HDMI to TV. I'm pretty sure I already know the answer just want to be sure.
Sources:
How to Connect Android to TV
How to connect your Android phone or tablet to your HDTV

Mirroring, or MiraCast is actually not fully supported on Android, this has lead Google to build their own mirroring software...
MiraCast never really worked on Android, there's always a resolution problem because android isn't designed to OutPut video on different resolution's.
The solution is sort of a screen recorder that utilizes WiFi and software to show the screen recording on a computer or T.V.
I'm sure that it can be enabled on any device that has had MirrorCast  in the past.
For example, Android 5.1 and up have the option to mirror removed completely while they work on a new version designed for android.
You can enable the old MirrorCast using some build.prop tweaks, however it's extremely unstable, Hence the removal in the first place.

Actually you can still mirror cast the new lg G7 but it doesn't support mirroring thru a cord. When you plug it in a toast comes up telling you to cast it. But I liked using type c to HDMI better, the quality of the picture was awesome and it never lagged and filled whole screen. Casting just doesn't come close. And I wonder why lg gets rid of a good accessory. I always favored lg over Samsung I think the new Galaxy's still do it, I guess I'll have to reconsider my loyalty


text:
Cell automatically phone powers down at certain location
Curiosity: at this location (False Creek, Vancouver, B.C.)
Google maps
my girlfriend's cell phone (Android Moto X; Android 6 Marshmallow) automatically powers down (off).  When manually rebooting (turning on again), once powered up it automatically powers off, again.
If we move e.g. ~75-100 feet away, the phone operates normally?
This has happened on the two separate occasions that we tried to photograph some foliage, there.
What would cause this?

Update (Mar 10, 2019).  My gf and I returned to this spot (~5 months later): her with new phone (Samsung Galaxy S7 Android 8 Oreo on a different wireless provider/account; GPS was ON).  This time, no problem.
That said, the GeoFence idea mentioned in the comments was likely the most reasonable explanation for the past behavior; perhaps that fence is no longer active.

Geo fence of some sort, is it happening with the GPS turned Off ?

As per Zillium's comment, please check whether the issue repeats after turning off GPS/Location and Mobile data/Wifi.

I would also check what the camera settings were when you attempted to take the photo. It could be that those specific camera settings for reasons like bug trigger a reboot and you may be thinking in terms of location dependent. Try to take a photo with the same settings elsewhere

Thank you for the comments: a geofence (I wasn't aware of those) seems likely.  Will update when we get a chance to return to that area.

@Zillinium: your suggestion seems to be the most probable answer.  Post it as an answer and I'll mark it as the accepted answer.


text:
Can not recognise wifi if the device is far from router
My phone connect when device is close to router but signal is weak.In some routers it connect to wifi and works fine. My mobile data works fine. When i have my mobile data open and activate the hotspot option, other devices recognises the signal but won't connect.
My device it is Samsung S4 and android version is 5.0.1.
Thanks!

Are you asking about other devices connecting to the internet through the Wi-Fi Hotspot on your phone?

@CodeMonkey,Yes,right.Other device won't connect through my Wi-Fi Hotspot.Also my device connect to router but signal it is weak.Thanks!


text:
Verify google account synced on factory reset
Did a factory reset by accident and now can't get past the sign into to verify with last google account synced to device.

Just put your Google account credentials, assuming the device is yours. Simply like that.

The account is a link between your device and Google,
You need to log into the Google account associated with your device...
If you used the Create New Account option while setting up your device, you'll need this account details.
However if you selected Log In ( I already have an account ) and used a current Google account, you'll need its details.
The password is not device specific, it is your Google account password, so if you are having issues remembering the password.

Open a google service on your computer ( YouTube, Gmail, etc.. )
Select forgotten password
Follow the steps to recover your account
Change your password ( the final step )
Use the new password to log in.

If you are unsure on the account you used when setting your device up, you'll need to go through all your accounts and try to recover each one, until you get the correct account.


text:
File level changes by an Android app
How can I track the file level changes done by an application during execution on an Android device. Specifically I am interested in file level changes done by a malware - create, delete, save a file on the device.
While searching this forum I found one way is - /proc//fd. Is there any other way ? using logcat,Frida or any other way ?

See https://www.nowsecure.com/blog/2016/02/18/filesystem-monitor-tool-for-ios-and-android/

Fanotify ... it's in the link you provided.

Download SD Maid from Play Store and in searcher operations you can specify to search for files that have changed in a time window you specify

Other than the options you mentioned,
There's a seriously long way to do this, the best way in my opinion.
It's very basic and effective, I used this method to find the files or folders that KingRoot modified, created or deleted.
It's one of the oldest methods around,
Compare a base image & after install image.

Backup the device ( in stock condition is better )

system
data
( call it Base Image )

Install and run the application
Backup the device again
( call it Test Image )
Transfer the backups to a PC
Extract the backup's into two separate folders
Use a comparison tool to test for differences between the folders
Identify any Deleted, Modified & Created data

I used WinMerge or something like that, it is designed to help merge folders, however it is enough to do the comparison.
You can also compare the compressed images without extraction by using a Hex editor that has file comparison tools.
I use HxD Hex Editor to compare files on PC.

An even simpler approach could be something like find /path -mmin -10 instead of creating backup. In order to reverse changes, an initial backup would suffice.


text:
How to Disable Screen Rotation Icon
I lock my screen rotation to portrait, and I have my navigation bar hidden to provide more screen real estate.
With the navigation bar hidden, I have come to experience the rotation icon appear in the bottom right corner just above the virtual keyboard enter/submit key. As it would typically be displayed in the navigation bar, it has its separate icon when it is hidden.
This is a problem because even when the icon is invisible, it blocks the touch to the vk key, albeit a tiny sliver of the edge still able to be pressed.
Is there a way that I can retain the hidden navigation bar and disable the rotation icon?
Additional information: My phone is stock, not rooted.
Edit
As of software update G965FXXU2CSB3/G965FOXM2CSB3/G965FXXU2CSB3, this is no longer an issue. However, I would still like to know how to disable the icon from appearing.

On LineageOS (Android 11) the icon looks like: https://i.stack.imgur.com/qQqq1.png (developer response)

There is indeed a way to disable it by ADB.

Setup ADB on your PC/Mac.
Enable USB debugging on your android
Connect your device to the PC/Mac
Run following command in shell/terminal:

adb shell settings put secure show_rotation_suggestions 0

You, sir or madam, are fantastic. Thank you very much, this indeed worked.

The command still works on Android 11. Thank you. I hated that little obnoxious button with passion.

Or you could do it the easy way.... I just figured it out with a lightbulb moment turning my flashlight brightness down

I have not tried this method yet, but it does seem like it would work, thank you. This saves having to use adb for average users.

Thanks a lot. Actually this icon disturbing me from 6 months while typing on SwiftKey.

Thank you.!!! I was bothered by this for an year

Probably, it is a Samsung-only thing. On other Androids I have tested, clicking that button just toggles auto-rotationbon/off, and long-pressing it just opens the Display settings.

Unless Google or Samsung bring out an update to give you the option to disable it, the icon can't be disabled.

How did you reach this bold conclusion?

This is a feature Google created in Android 9 and didn't add an option to disable it. CodeMonkey's phone is running completely stock so unless the phone is rooted there is no way to disable the icon. Even if the phone is rooted there is no guarantee that this can be disabled depending on how deep this function is built in to Android.

Well somebody disagrees with you (https://android.stackexchange.com/a/212608/166631). P.S. His solution works.


text:
ADB - Can't enable USB Debugging, phone stuck on boot screen
My phone stopped working and stays stuck on the boot screen. I've tried wiping both cache partition and data reset, still nothing. So I decided to flash a new ROM, but I can't connect through ADB as my USB debugging is not on. Is there any way for this to work?
I use a Freetel FTE171A.

This phone is an SPD device this means that you don't need fastboot or ADB for flashing. What you need is USB drivers and A flashing program and eventually the flash files (ROM).
Go to this link to download everything you'll need.


text:
How to disable certain system notifications?
I am getting "your wifi calling was optimised" popup repeatedly. How to disable it?
My phone is Samsung S9+ running android 9.
Notification comes whenever the phone switches to WiFi calling.

Can you follow up the first part of my answer here: https://android.stackexchange.com/a/206394/96277

Could you add more info, like the device model, Android OS version, whether you're using a 3rd-party phone/VoIP app, and possibly the carrier?

@Andrew, added to the question.

@Firelord, that solution is irrelevant because my question is about an OS notification, and the question you quoted is about app notifications.

A notification is a notification, doesn't matter if it comes from Android OS, a system app or a third party app. That solution works for any type of notification. Anyhow.

Found a solution on another forum:
Settings > WiFi > Advanced.
Uncheck "Network notifications."


text:
How to geotag photos uploaded to google photos
I've uploaded some photos to google photos, these photos do not have any location information in their EXIF metadata as my camera didn't have the GPS enabled at the time of capturing images.
Now I want to geotag (add location information) these photos. Since I know the location (GPS coordinates) where these pictures are taken I am looking for an option to geotag them in google photos.
It seems that the google photos app does not have any option to geotag the photos.
Is there any way I can geotag the photos from google photos?

You can geotag the photos from google photos web site.
Follow the below steps to geotag your google photos.

Go to photos.google.com
Select the photos that you want to geotag
Click the options menu and select Edit Location
Type the location and choose the appropriate one from the dropdown
Done. The photos are geotagged now

This does not allow you to geotag a photo using coordinates, you have to tag it to an already established google map location


text:
Is the Samsung Galaxy S9 encrypted by default or can it be encrypted?
Basically, I travel a lot with my phone and having it encrypted would be very useful in knowing that a crook wouldn't be able to gain access to my data should my phone be stolen.
I heard from one source stating that all devices running Android 6.0+ must be encrypted by default in order to be certified.
However, I also heard from a Samsung representative that they removed the option to encrypt the internal storage after Android 7.0.
What's the actual case?

It has to be encrypted by default. What the Samsung rep refers to is probably by removing the choice the option to encrypt is not left to user (being default). You can check yourself  device encryption status as mentioned here https://android.stackexchange.com/q/96125/131553

I believe you are seeing correct sources on both accounts.
Android 6.0 made it compulsory if you are using Google Play Protect, this will show Certified Device in Google Play, You open the Play Store and go to settings, then scroll to the bottom, it will show you the certified status - therefore the encryption status.
It makes sense to remove the obsolete option past that point.. Android 7.0.
It may have been an unintentional oversight or the developers still required the option to automatically return true.


text:
Huawei 3e can't disable apps on Android 8.0
This is never a problem n7
As of yet the phone isn't rooted yet so any advice be helpful for some apps draining the battery

Which apps you need to disable? You can disable only system apps. The apps which are installed from play store(user apps) or other sources can't disable. Either you can uninstall or force stop user apps.

See my solution here: Enable and disable system apps via ADB // You should mention what problem you are having when attempting to disable system apps. Do you not get the option to disable (button greyed out or something)? Also, if your concern is battery drain,  are those apps marked as Optimized for Battery under Battery settings?

Unfortunately the phone is not rooted and I don't plan on rooting it as it's still under warranty with my previews HTC One M9 I could use an app and it would disable and enable apps on the fly was wondering if anything like that would be possible thanks for your reply so far

Feel free to post an answer you have found the solution, but please don't post an answer if you want to reply on the comment. On the other hand, you might need to clarify what do you mean by "disable/enable apps on the fly on HTC One M9 using an app", and the name of the app might give you a hint if it's a stock app by HTC (which you can't probably use it on other devices), or 3rd-party app (which you might be possible to download on other devices).

@Firelord thanks

@AndrewT. It was rooted and I used app freeze from PS. Okidoki ,,


text:
Prevent homescreen/desktop from showing before my start-up app?
I have this bootup app that listens to the system boot up event and will launch on system start up (pardon the verbosity).
Problem is, the system will stubbornly show the homescreen (or a static wallpaper,  I'm not so sure, basically it's a colorful, mostly blue geometry pattern, see the picture below) first before switching to my app, which is quite annoying.
I assume I need to delete files under /data/data or /system/priv-app to eliminate that?
Can someone please help me?
I'm running a customized (with heavy samsung influnece, I'm not the system level guy) build of android 5.1.

I can see nobody is answering this so I'll give you a long way of achieving this.
You need to build a Launcher application, the launcher application will be blank, it simply starts the activity of your app, or preferably it just does nothing at all.
After the blank launcher loads, the onBoot event will trigger your app to start.
A long work around...
To begin with,
Have a look on Stack Overflow, I found this question that fits perfectly in my opinion...
Make my app the home screen launcher....?
This could be a good workaround as well, probably better than my original idea haha :) hope it helps.


text:
Why don't I see Twitter's homescreen widget on my Android?
When I go to add widgets to my home screen, I don't have any widget from Twitter available. Other widgets are appearing in the widget list, can be added, and work fine. Just nothing from Twitter.
What could possibly be causing this?
I am on Android 6, but it couldn't possibly be too old, as i have an even older device running Android 4.3 where the Twitter widget is available. I have the Twitter app installed, I am logged into it, I can open it and use it. The only thing that is missing is their widget for my home screen.
I have tried removing the app and installing it again, logging back in again, restarted the device a couple times, but the widget just doesn't offer, neither for the default launcher, nor in Nova Launcher.

try to login twitter using chrome. after logged in tap on three dots on top-right portion of chrome and select 'Add to Home Screen'. This will act as twitter app icon. I am using the same, I don't have twitter app installed, but placed like this. By, tapping icon, it loads twitter in chrome, for your case, I think it will redirect action to twitter app.

@RahulGopi Like i wrote in my original post, the app works fine. It's the widget that is missing, and your suggestion will not give me the widget, nor an alternative to it.

Okay. Try with any other launcher. Or uninstall and reinstall twitter app and check.

Sorry, the Twitter widget is gone.
The Twitter widget was removed from service in the newer versions since release 6.8.0. See the report dated July 26, 2015 from Android Police. It is possible the version you are maintaining on the earlier OS was never updated (or can't be) to a widget-less version.
My Samsung S8 carries the latest Twitter App and no widget available, regardless of launcher. (I use Nova, but confirmed this too, by reverting to the default)

Thanks for the info! Never would have crossed my mind that that would be the case, especially with 3rd-party apps popping up to offer a homescreen twitter widget. I have now solved my need for the widget by installing the older version of their app. Cheers!


text:
Huawei M2-802L Cannot making call!
i have a Huawei Harman/kardon M2-802L tablet. i want to make calls using sim card. there was no default calling app. i downloaded one, but the device showing :"your device is unable to make calls" when i try to open it.
anyone please advice. thanks in advance

By looking around, it is possible.. However you need to make system modifications and literally build your system with a Modem & Call App... The best way I've seen is to actually try porting a firmware from a different tablet with the same chip set, that does have Call abilities..

doing a simple search on the web you find that your tablet only works with voip. Sim card is only for data. You can not call or receive a call.

Do you have an official source for it? Or maybe a qualified post on xda

I found it on a thread of stackexchange. As I am connected to Internet with my phone, I can not copy paste the subject of the thread. It mention this link : Source:http://www.huaweidevice.com/worldwide/faq.do?method=getFaqInfo&questionId=7564


text:
Can adb sideload be used to flash/install ZIPs using 'stock' recovery/fastboot?
TWRP isn't supported for my WE_T1 Android Nougat. Can I still use the adb sideload function to install ZIPs using stock fastboot?

adb sideloading works with adb, not fastboot. Both uses different protocols and expect different data to process. Fastboot compatible archives (or ZIPs here) contain fastboot compatible images and a simple script to flash them. Recovery compatible ZIPs are usually complex as they employ scripts with various checks and preparation before flashing anything.
In addition, stock recovery requires ZIPs signed by your OEM, otherwise, they would fail during a flash. Fastboot doesn't employ such signature based check when flashing as long as bootloader is unlocked.
For understanding you can compare fastboot images with recovery flashable images from here and here.

Could you kindly tell me if I can install zips using adb sideload "Without a custom recovery" in my android?

No, you cannot, unless the zip is officially released by your OEM.


text:
How can you increase notification size?
I have a Samsung Galaxy S8 and I get notifications which are a bit longer than can be displayed.  For example

Helen wants you know that there are items waiting for you

will be displayed as

Helen wants you to know that there are...

Is there a way to increase the size of the notification so the complete notification can be read?

[Nevolution] (https://play.google.com/store/apps/details?id=com.oasisfeng.nevo) expands notifications to multi line text but may not work with all apps. Try that

pull down the notifications or tap the arrow down to expand the full message or notifications


text:
Cannot install YouTube app on Tecno devices (Android Go)
I am using a Tecno Pop 2 Power device. It runs on Android 8.1 (Oreo, Go Version). It's a new device. When I launched it, it came pre-installed with the "YouTube Go" app, which is in no way a replacement for the traditional YouTube app.
When I try to download YouTube from the Play Store, it downloads but doesn't install. Other applications install just fine, except YouTube.
Is there a way to install it? Something I'm not doing right?

Have you tried downloading and installing the Youtube apk from other stores such apkpure, apkmirror, etc?

Facing exactly the same issue with my Tecno BB2, I just think Tecno's in general have a problem


text:
How to transfer system app (built-in app) from android to android?
I have Collins dictionary in my Samsung Galaxy S6 edge which is System app (it can only be disabled, no uninstall option). I want to transfer this dictionary to my j7 mobile but it does not transfers through zapya, shareit or Bluetooth etc!. There are several apps which asks for root permission in order to transfer system app from android to android but i am unable to root my s6 edge mobile. Is there any easy way to transfer this app because this app is not found in playstore or it have a high price!

Use shareit or simalar apps to transfer the apk from one device to another

does not works! look my body

I guess I didn't see that ShareIt was among the apps listed. Try the methods suggested to the following question: https://stackoverflow.com/questions/11012976/how-do-i-get-the-apk-of-an-installed-app-without-root-access


text:
Can I find which app is making certain DNS requests?
So I've been using pihole and my Android 7 phone is making some unexpected requests to DNS for a particular domain. Is there an app or technique I can use to find which app is initiating those request. It seems the Java level DNS cache won't have that info.
I'd guess one needs to intercept requests to the phones DNS service (*), recording the requested domain and the requesting app; are their hooks in Android to do that?
I don't have root.
Any help appreciated.
(* - yes I know what this acronym means!)

If you have root, you can install a DNS server like dnscrypt-proxy to view/block all DNS requests. It can be combined with iptables owner module to find out which requests are made by which app.

I'll look at getting root but I'm not sure a safe root is available on my device (Honor 5C, NEM-L51 by Huawei). Thanks for the tip, FWIW I've heard OS Monitor app is useful for tracking such things but it doesn't work on Android7 and up.

With root you could extract all the APKs (plus app private data) from your device unzip them and make a grep over all the data. If you are lucky you will find the DNS name and therefore know the app.

Nice idea, could extract suspect apps dl-ed from app store, grep through them, might find something.

Try Net Monitor.
It shows network connections of installed apps.


text:
Only few files are visible from 5TB exFat external hdd on Galaxy S8+
I have a 5TB external storage with many RAW photos and videos. They are sorted by dates in folders and the hdd itself is almost full.
When I connect it to my PC, it recognizes all files and directories.
However, when I run it on my Android phone, only few folders and files are visible. Most directories appear empty or doesn't even show up.
Does Android have issue recognizing larger HDD drives? It is a seagate 2.5 inch drive with 5TB storage formatted in exFat format.


text:
Accessing device with broken touch sensor and LCD using adb
After a drop, my phone's (Galaxy J3 6v) screen (both LCD and touch sensor) are completely unresponsive. I believe I have USB debugging turned on, but cannot be sure.
I have a Linux machine with android-tools installed, and am comfortable with the command line.
I've been trying to connect with adb, but it gives me the error:
error: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.

I have already killed and restarted the server, added udev rules, and added the phones vendor id to .android/adb_usb.ini, as well as called Samsung support (they had no clue what I was going on about)
Am I SOL, or is there a way to bypass the confirmation dialogue?

Adb connection has to be authorized by the user in the phone. When a connection is to be established a dialog is shown to the user for approval in the phone, pending which adb would remain unauthorised.

so without a way to interact or even see what is going on on the phones side, I'm SOL?

You could try to use a usb mouse/keyboard for the approval dialog on the phone otherwise adb will only connect to approved PCs/Macs.

You are being prompted to accept the dialog on screen,
You obviously have no option to actually accept the dialog, so your chances of getting around this are low.
You may be able to swap between USB OTG mouse and USB cord to accept the dialog and then swap back to continue in ADB...
If you are serious about repairing the device or at least recovering the data, a last resort would be to just replace the digitizer and LCD ...
Cheap Digitizer & LCD on EBay


text:
Decrypt userdata files using device and complete filesystem dump
My Oneplus 5 got softbricked (touch input completely stopped working some time after an update and nothing could be done about it). This happened soon (a couple of weeks) after it was updated to stable OxygenOS 9.0.3 (first Pie-based ROM for my device), bootloader was locked.
It was not easy, but I managed to get images of all the phone's partitions via Qualcomm EDL mode. Then I factory reset ("unbricked") it using "MSMDownloadTool" provided by Oneplus (which uses EDL as well).
Needless to say, most of the extracted userdata partition (which should contain all my files, e.g. photos) is encrypted. The encryption method is FBE. I also used a PIN lock (which I know).
What I am trying to understand if it possible to decrypt the files. My very basic understanding is that this involves some keys specific to my unit (so can only be done on the device itself?) and also some keys found on the userdata image in a "unencrypted" directory and some further keys which are encrypted using the former.
In some initial attempts to decrypt the data I have since unlocked the bootloader and rooted the phone.
So my questions are:
1) Is this theoretically possible? Could the modifications to the phone's firmware I have already done wiped something necessary for decryption, which was not stored on disk (in userdata or another partition)?
2) Can anyone provide any manual as to how this could be approached? I have found a manual for Huawei Mate 9 on xda-developers but could not
follow it (vold directory missing in misc, probably encrypted).
3) If not, what documentation / source code would you recommend studying?

The AOSP documentation says that the keys are held by the Trusted Execution Environment (TEE). And the TEE is re-initialized by a factory reset (or in detail on the first boot after factory reset). I am not sure where the TEE data is stored but it seems to be nearly impossible to get the TEE into the correct state to be able to access the decryption keys.

@Robert Do you mean that TEE data is stored somewhere outside the devices main flash memory? Also, could you provide a reference regarding TEE being reset on first boot?

I am not an TEE expert, but from my understanding the data is stored in the same flash as user data but encrypted in a way only the TEE can access it. The initialization/enrollment of the TEE is documented here: https://source.android.com/security/authentication#enrollment

Thanks for the link. Also, as said, I do have a dump of the phones entire filesystem, so if TEE data is in one of the partitions, I could just flash it back onto the device (that alone would likely not be enough though). Incidentally, I do see some partitions that may be relevant ("tz", "keymaster", "keystore") but none of their contents actually changed after the factory reset.

Related: Data recovery from encrypted phone based on glitches in the encryption? and How to get data off a completely dead Android phone?


text:
minecraft and pvz backups transfer to new tablet
My son has been using a Samsung Tab A for the last year.  I set him up (and his sisters) with a child google account which I monitor with Family Link. Unfortunately the tablet port charger broke (little piece inside bent and even if you can put the charger in, it won't charge).  I took it to be fixed and they told me I should just buy a new one since the cost of fixing would be the same.
I bought a new Tab A and was able to get his profile on.  However, none of the progress from his games was kept: I was able to reinstall all his games but he's at ground zero after years of progress (and lots of $$).  He doesn't play through the Google Game app, since apparently that doesn't link to Family Link.
We tried putting the apps from his old tablet on a card but the progress didn't transfer that way either.
I would hate to have to return the new one and get the old one fixed just because I don't want to lose his progress.  Is there anything else I can do?