text:
How to see the boot progress messages (akin to dmesg) when booting LineageOS?
After the last OTA update my phone (OnePlus 3) seems to be stuck for about half an hour on the boot animation.
Since updates usually take ages to install, how do I know that the update process is stuck?
On my desktop I can always see dmesg message during the boot, and it is relatively easy to troubleshoot problems. Is there a tool that allows me to see the diagnostic messages while the phone is booting?

http://play.google.com/store/apps/details?id=eu.chainfire.liveboot

Finally I've managed to do that without any 3rd party addons. The key is to get boot.img, and modify the file default.prop that is living in the root folder inside the img-ramdisk.gz:
You have to do three modifications:

persist.sys.usb.config=none -> persist.sys.usb.config=mtp,adb
ro.secure=1 -> ro.secure=0
ro.adb.secure=1 -> ro.adb.secure=0

You can get the boot.img if you extract the flash image with the OS you are currently using, or by extracting it from the device directly.
After that, the adb logcat will collect the live boot messages when you connect your laptop to the phone when it boots.
With adb secure on '1', it will give you 'unauthorized' message when you attempt to adb.
ro.secure=0 allows adb to have root privileges (see more here https://android.googlesource.com/platform/system/core/+/master/adb/daemon/main.cpp)

All credits go to the IRC users LuK1337 and razorloves from the LineageOS Discord/IRC channel.

Boot progress messages on Linux PC appear on kernel console or first virtual terminal. They start appearing from bootloader stage. But your proposed solution gets the logs on USB (not framebuffer) from a userspace daemon when at least kernel, init, logd and adbd are running. If a panic occurrs before this stage, you won't get any logs. So technically it's not "akin to dmesg". // ro.secure=0 and ro.adb.secure=0 work only on debuggable builds. So this solution won't work on any stock/user ROM. // last_kmsg and pstore are more certain ways to get persistent logs from last reboot


text:
No keyboard after reset!
I don't know how it happened but I did a factory reset on my LG g pad and it came back with no keyboard   Which means I can't pass the setup wizard because I can't type a password.  I can't go anywhere?! I didn't delete the keyboard so I am wondering what happened.  Just need help!!

you should be able to sideload apk from recovery, or connect physical keyboard with OTG

source: Stack Exchange

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

sort: votes


text:
Saved WiFi passwords on Android 10
I'm trying to figure out the logic of the WifiConfigStore.xml file on Android 10.
I am rooted. I have a XML file generated by Titanium Backup, which I can import and have several hundreds of saved networks restored.
Each marked with "Saved by Titanium Backup".
If I remove TiB - all saved networks are gone.
Password viewers work, but I'm looking for a way to "mimic" TiB's behavior: export a list, then import it, without a specific app dependency (so passwords won't disappear if I remove the app).
I tried dumping the WifiConfigStore.xml after saving one network, manually adding a saved network, pushing it back and setting the permissions+owner. After a reboot - no saved passwords on my device.
Help would be appreciated

For adding new Wifi configurations Android has an API for ages. See WifiConfiguration/WifiNetworkSpecifier.Builder. Therefore from inside an app it is plain and simple.

I'm not a developer, just a user, with some more-than-average understanding...

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


text:
Turning on with ADB and SDK tools?
My samsung mobile is switched off with busted power button, and the "Volume down+main button with charger" process is also not working..is there a way I can restart it using adb and sdk tools??

https://android.stackexchange.com/questions/131248

download magisk manager and exact variant of boot.img to any other android device. patch boot.img with advanced - keep force encryption + keep avb/dm-verity
install Odin and drivers. flash magisk_patched.tar in AP slot. set the auto reboot option
unlock device and install magisk manager. you are rooted
edit: now modify your device for auto boot each time charger is plugged in, see Irfan Latif's answer on Automatically power on Android when the charger is connected
now dump your para partition and inspect with hex editor. if you find the off mode charge string you can modify value. flash the modified para partition. this will make your device auto boot each time charger is plugged in
if the changes aren't persistent for some reason, install some start-up script which executes the mod directly

 sed -i '0,/off-mode-charge=1/s/off-mode-charge=1/off-mode-charge=0/' $(find /dev/block -name by-name)/para

This trick should work only on devices where bootloader supports fastboot oem off-mode-charge 0. I don't know if odin provides an equivalent command or not. But many vendors don't implement this command in bootloader.

Universal way: https://android.stackexchange.com/a/221384/218526


text:
Samsung Tab A6 won't leave battery screen or turn on
I'm currently having issues turn my A6 on, in that it simply won't start up.
I have tried: Holding the Power and Volume Down button, Holding the Power button for 30 secs, changing cables, changing adapters, changing wall sockets, and trying all manner of button combinations. Unfortunately the issue still persists.
When I plug the A6 in, the battery charging screen is displayed but doesn't change or do anything. If I unplug it, the battery charging screen stays for about 5 seconds and the switches off, leaving me with a dead tablet again.
Is this something I can fix, or do I need to get a replacement?

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


text:
How to patch and sign android bootloader image to enable "volume_up" button?
Had trouble with it for a long time because manufacturer disabled the button to unlock the rooting functionality.

Bootloaders binaries are signed with OEM's private key. You can't sign them. And they are closed-source and highly vendor-specific. There is no general way to patch them.

I managed to find an answer to the continuation of my question. Which technically removes any reason for this question. Should I answer this question by it or create a new one?

It'd be better if you post the answer for other's benefit.

@IrfanLatif Is it really practical to repost info from xda-developers ? It's the post about suboot.sh which works with mtk-su and magiskinit on mtk devices

You can provide a brief description with link so that answer is not useless if link is dead.

fastboot oem key 8 # vol up
fastboot oem key 2 # vol down fastboot oem key 5 # power

@alecxs
fastboot oem key 8 returns
FAILED (remote: 'argument size is wrong')

seems working for HTC Leo (got it from the mtk-su thread)

I live in the U.S. and what was once the land of the free is now the land of the locked bootloader.  Good luck
https://www.geektrouble.info/explore/android/view/218873
"OEMs/SoC vendors implement a Chain of Trust which must have a hardware-backed root of trust - a cryptographic key. On boot every software component verifies the integrity of the next component before loading it in memory. This chain of trust starts with BootROM (the very first executable code which runs on Power ON) and ends at /system and /vendor partitions. Everything in between - bootloaders, Device Tree, Linux kernel and Android OS code - is verified to be unaltered."

That's my answer to this question: https://android.stackexchange.com/a/218886/218526


text:
prevent people to see that I use whatsapp
When Alice adds Bob's number to their Android contact list, they can infer whether Bob is using WhatsApp by looking at their WhatsApp contact list. Only if Bob uses WA, they will show up there. How can B disclose their phone number to A while hiding the fact that they use WA?

Maybe blocking Alice would work? I didn't try it so you'll have to test it yourself. The other option might be to have a different number for WhatsApp or to give out to people

Depending on the capability of WhatsApp and Android system, what you want to do might be impossible to do with the official WhatsApp. I don't know if modded (unofficial) WhatsApp might help though.


text:
How to identify which app is causing the notification LED to flash?
My LG G4's notification LED has started intermittently flashing yellow for unknown reasons.
Normally, I would assume that a notification is causing it, but in this case, no notifications are present and clearing the existing ones doesn't stop the flashing. I have not (knowingly) set an app to flash either.
Is there a way to diagnose which app is causing the flashing?


text:
Removing DRM from android using root
I would like to know what would one have to do to remove DRM (Digital Restrictions/"Rights" Management) completely from an Android phone one has root access to.
So far I have thought about removing /etc/drm, /etc/dcmrcm and /system/bin/drmserver
Thanks in advance!


text:
How can I clear the "Auto Backup" data to get a clean install?
When I delete and then later re-add an app, the app doesn't start "clean".  Instead it "remembers" things from the last time the app was installed, which I do not want.
I have tried settings > (specific app) > storage > clear data  and settings > (specific app) > storage > clear cache, but despite those actions, there are things the app remembers.  And even if I delete the app at that point, then reinstall it, it remembers things, so this is not a clean install.
How can I delete the app data or clear the app data or remove the app data that is saved (and later restored) by the Android Auto Backup process?


text:
What are the causes of an android phone bricking?
I will try to change a firmware of SAMSUNG Galaxy J600FN with a current firmware of J600FNXXU6BSK2 with a new firmware J600GDXU3ARH5. I am changing the firmware to bypass the FRP because methods like Talk back, Inserting/Removing Sim card and HushSMS won't work.
Questions:

Will this scenario will be suceeding in changing firmware?
What are the common causes of the android phone bricking? (Hard/Soft Brick)

You might wish to consult these questions – especially What is actually happening when you hard brick a phone? – and our unbricking tag-wiki (follow up to What does it mean to “brick” your phone? and Why is bricking possible?) // Further, I'd say the [tag:frp] tag doesn't fit on your question (or what does factory-reset protection have to do with bricking the phone?)

May help: Bootloader/BIOS, flashing ROM and correlated risks. Why Android devices are more brickable than PCs?

If you are flashing ROM, Common causes could be

Wrong ROM
Battery Failure (Please make sure it is charged fully or upto 70%)
Power Off/ Cancelling process in between.

Please search for the same Model ROM to Upgrade to current version.
Also in Settings, search for Software Update option before trying anything else.


text:
Define storage caps per app basis
Is there any way to define how much storage space an app can use?
I'm tired of uninstalling apps, deleting apps data and deleting files to see the newly freed space begin swallowed in just  some hours by those "storage abusive" apps!
The worst of all is that I have real needs with some of those apps.
Take Outlook for example, it wastes space caching old e-mails that I'll not read and it lacks any settings to control this behavior. I use it with my personal and work accounts and cleaning its data means going through the authentication steps again... for each of the accounts... on a daily basis... and it's just one of those problematic apps...
Using the "delete things" method repeatedly\constantly looks just dumb, a poor made process design choice...
And i don't care about loss of functionality, they'll have to deal with whatever space i judge them worthy having. =)

With root access it's possible to set filesystem quotas. But that too won't be helpful for external storage (/sdcard) where all files are saved with same UID/GID irrespective of which app creates them. So apps with WRITE_EXTERNAL_STORAGE permission cannot be subjected to filesystem quotas. Or at max you may set a limit on total size of /sdcard. For other apps the approach will work perfectly. However quotas are not implemented by Android this way. You'll have to manage them manually. And possibly apps may break when they reach quota limit since they are not aware if it.

The IMHO better way to stop "storage abusive"  is write a review and/or contact the developer and complain about this behavior. Or just use a different mail app. BTW: Do you know that Outlook app does not access your mail servers directly? AFAIK instead they send your username and password to a Microsoft server named "Outlook cloud service" (where it is stored) which now manages everything and to this server the app connects. Therefore every mail you receive/send/read goes through this server. Very creepy and a total privacy disaster.


text:
How do fonts / fallback fonts work in Android 9+?
Short story
I want to add a fallback font to my OP6t running Android 9 to support poorly updated / coded legacy apps (unlocked, and rooted with Magisk)
- I am looking for a system wide solution
I am not having any luck figuring out what I am doing wrong
Long story
Android 4-8 I just rooted the device, copied a modified DroidSansFallback.ttf and corrected the permissions -- now I am at Android 9 and this doesn't appear to work
I have tried (via Magisk Module)
- injecting the font to system/fonts
- injecting system/etc modified fonts.xml & fonts_slate.xml
Any help suggestions or ideas is greatly appreciated!


text:
integrate Google Photos with android system
I use ios for long time recently switched to android. my whole photo library in google photos but when i need to upload somewhere  i need to download it first to device and proceed to upload its irritating is there any way to link google photos to gallery like ios icloud photos when i use ios i can select icloud photo directly and it download & upload automatically. why google can't do that?

Google Drive was the integrating factor till July this year. It was possible to sync photos with Drive. Drive also works with ios.
Now that it is discontinued, there is no automatic way to upload but from Photos settings you  enable sync to drive (tap on the cloud icon) or using the share option upload to third party cloud/messaging/mail options.


text:
Files (used to) appear on smartphone but not on Windows Explorer
I had a couple files missing on my Windows Explorer, despite being able to play files on the device itself.
One tutorial told me to update my MTP driver, through Device Manager, I did, no changes.
I decided to solve this "discussed and known issue" by doing what everybody (here on Android SE) said solved it for them. So I entered into the Apps, and purged cache of two system applications, External Storage and Media Storage, then rebooted.
Allegedly after reboot, I had to leave my phone alone for about 10 minutes, for it to "rebuilt its cache", so I did. After it rebooted, I put it into my pocket, not giving it any extra data, after some 2 hours. I attached my Android to computer, the entire drive is empty, only customized-capability.xml was visible.
Smartphone also lost touch with the SD card, to the point where the music application forgot last played music (understandable) and doesn't detect music from various folders (atypical). I need to use external app called File Commander (which is somewhat comparable to Windows Explorer) to manually navigate to the SD card, after tapping music it will play, so no data is lost, but it is inaccessible to even my own device now.
Windows Explorer and File Commander tell me that there's only 3GB left (which makes sense in my scenario), but Windows won't display the files.
How do I solve this? How can I get phone and my computer to recognize the files?
Android 7.1.1
Sony Xperia Z5
P.S.: Yes, I did look thoroughly, there's no hidden files here.

Don't use MTP, keep life simple.

Related: Why does MTP show wrong directory location?

Make sure External Storage and Media Storage are running .
Rescan SD Card! Add the path to your SD and scan (Usually something like /sdcard or /storage/****-**** ). Reboot...
If second doenst work you could try: adb Guide or adb Driver :

On your phone:
Enable Developer Options on your phone -> Enable
 USB-Debugging -> Plug-in USB-cabel
On your PC:
Windows: Windows Key + R -> cmd ->  adb devices:
List all available devices:
Something like:
List of devices attached
9cc74efc        device

If you see your device :
adb root && adb shell

am broadcast -a android.intent.action.MEDIA_MOUNTED -d file:///sdcard

Source


text:
(HTC One M8) No OS and recovery, locked bootloader, how can I flash stock OS on it?
I've tried to do it for half a year now and I can't find anything that could help. I've already found aproppriate OS for my phone here.
Phone info:
(bootloader) version: 0.5
(bootloader) version-bootloader: 3.19.0.0000
(bootloader) version-baseband: 1.29.214500021.12G
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main:
(bootloader) version-misc: PVT SHIP S-ON
(bootloader) meid: 00000000000000
(bootloader) product: m8_ul
(bootloader) platform: hTCBmsm8974
(bootloader) modelid: 0P6B10000
(bootloader) cidnum: ORANG001
(bootloader) battery-status: good
(bootloader) battery-voltage: 0mV
(bootloader) partition-layout: Generic
(bootloader) security: on
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: 76df2b54
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0

https://www.htc.com/us/support/rom-downloads.html


text:
How do I organize notifications on a Galaxy Note 10 - Seperate Messages from System Nots, Different Sounds, etc
Just switched from iPhone to my Note10 and i love it. However what drives me crazy is that I get tons of system notifications that all pool in the Notification bar. However, to be honest I only really want to see personal notifitaions there, like messages and so on, System Notifications better only if I request to see them. How do I seperate system notififications and message notifications. Also ho do I specify different sound, so I hear if its a Whatsapp or Insta or Facebook ...
Also, how do I make these notifications appear on the locked screen, like they do on the iphone?

You'll want to play around with the notification settings in your settings app. This is will be different for you, but on my Note 3 I go into the settings app -> Device -> Sounds and notifications -> application notifications. From here I can disable notifications for specific apps, and set apps as priority notifiers. imagine it's aomewhat similar with the note 10. Additionally, some apps will let you disable or change the notification sound from within the app, but here YMMV.
I'm not quite sure what you mean by separating system notifications and message notifications.
As for making them appear on the lock screen, see if you can find a related setting under notifications or lock screen. This is also under "sounds and notifications" in the note 3 settings app, although this is again likely to be different for you.


text:
Where do Android apps save their working state?
Where do apps store their working state?
Occasionally an app will crash, or I'll get the Android message that X app has stopped responding ("Do you wish to close?"). In either of those cases, after the app has crashed/closed, if I then switch back to the app via the switcher, the app's state is restored right in the middle of where it was previously, as if it had never closed.
However, if I were to close the app myself, such as closing it from the app-switcher view, or the phone rebooted, the app will start fresh, with no state saved/restored whatsoever.
I'm wondering if there's a way to manually save an app's working state, so you could restore the state manually within the app when you want, without the assistance of the "App isn't responding, do you want to close?"


text:
Disabling auto-correct in one language but not the other
I've setup my phone for two languages: English and Russian; I use both languages for texting and other communication. Although English auto-correct seems OK, the Russian language auto-correct is terrible: it doesn't understand inflections and constantly changes correctly spelled words into completely different ones.
I'd like to turn off Russian language auto-correct. How do I do that? I would prefer to keep English language auto-correct if possible.
The phone is Samsung Galaxy S9+, running Android 9, One UI 1.0.


text:
Why can I still not receive OTA updates after flashing stock firmware on my Moto G7?
After purchasing a Motorola Moto G7, I rooted it using TWRP and Magisk.  After a few months of having it rooted, I decided to undo the process in order to restore the ability to receive OTA updates.  I flashed official firmware and re-locked the bootloader, but I still get the boot warning saying that a separate OS was loaded and that it's a security risk (yellow).  After checking the system Settings, I discovered that I still couldn't receive updates either.
Relevant Information

Product/Variant: river XT1962-1 64GB PVT
Firmware/OS: RIVER_RETAIL_9.0_PPOS29.114-134-7_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
Followed this process to restore stock firmware: manually update G7 using fastboot | Moto G7

I'm not sure if this makes any kind of a difference, but I did encounter an issue when locking the bootloader:
root@ThinkCentre-M900z:/home/user# fastboot oem lock
...
(bootloader) Flash valid Android images now
(bootloader) Then re-run this command to lock
OKAY [  0.003s]
finished. total time: 0.003s

After the above command failed to re-lock the device, I tried using fastboot flashing lock and that seemed to work.
root@ThinkCentre-M900z:/home/user# fastboot flashing lock
...
(bootloader) Phone is locked. Rebooting phone.
OKAY [  0.004s]
finished. total time: 0.004s

When I run fastboot oem lock after having used flashing lock, it gives a message stating that the bootloader is already locked.
I have two theories so far:

The firmware I flashed is incorrect
The bootloader is not actually locked (this seems improbable)

Is there any way to fix this?  Or am I doomed to manually installing OTAs until I get a new phone?  Please let me know if I left out any important information.
Any help is appreciated.

i guess the oem lock has kind of validation checks (which failed, for example wrong boot.img) but flashing lock does ignore this and lock the bootloader regardless the validation. you need to unlock again, flash the right files and lock with oem lock

@alecxs That's basically what it said when I ran fastboot oem lock.  Any idea where I could get the "right files?"

unfortunately no https://www.youtube.com/watch?v=OcuyyPMKX40


text:
android ".backup" into data files
How can i get all my backup data into (data folder) ??
Here is my list of data (i run this command with (file *)
userdata_20200109_180356.backup:   data
userdata_20200109_180356.backup1:  data
userdata_20200109_180356.backup2:  data
userdata_20200109_180356.backup3:  data
userdata_20200109_180356.backup4:  data
userdata_20200109_180356.backup5:  data
userdata_20200109_180356.backup6:  data
userdata_20200109_180356.backup7:  data
userdata_20200109_180356.backup8:  data
userdata_20200109_180356.backup9:  data
userdata_20200109_180356.backup10: data
userdata_20200109_180356.backup11: data
userdata_20200109_180356.backup12: data
userdata_20200109_180356.backup13: data

Can some one help me with that? how can i do this into data files.

Based on the file names this question is identical: https://android.stackexchange.com/questions/141805/how-to-extract-backup-files-created-by-android-stock-recovery

please note if your device uses full disk encryption you need a copy of metadata, otherwise these backup files become useless after factory reset. read back metadata partition with SP Flash Tool

How can i read back the metadata in SP Flash Tool?

Thanks i got the preloader.bin now from the phone. but i flashed the phone with wrong rom. i need the right rom now for fix the phone.


text:
Samsung Galaxy S10+ randomly switches to roaming SIM and forces enable data roaming!
I have the latest firmware update, and I'm using it with 2 SIMs; Sim #1 is a Google-Fi on roaming, and Sim #2 is the local default sim. I choose SIM 2 to be the default for everything (calls, SMSs, and data). However, I kept seeing the mobile for some reason switches the data to SIM 1, however, I disabled data roaming, and surprisingly, the mobile still randomly changes to SIM 1 (Google Fi) and also consume data!!

in developer options there is setting "aggressive handover" maybe it is related. btw you should switch sim 2 to slot 1 because one some devices only the 1st slot is full featured (at least, for my device)

I just checked all "Developer options" and there is not "Agrresive handover" or anything similar.

nevermind. it is not related at all https://i.sstatic.net/3au0S.png


text:
Geo/Location tagging a photo when taken from 'lock' screen
I have enabled location / geo-tagging of photos on my phone (Samsung S10+, prior to that, S7 - same results). Photos taken generally record location information as expected. However - if I take advantage of the phone's ability to launch the camera app from the 'lock' screen (that is, without unlocking the phone by PIN/fingerprint/face recognition, etc) then location information is NOT recorded.
I can see how this would be an 'unintended consequence' behavior; if you don't unlock the phone session, then the camera app may be launched in a different 'security context', and in that context, it may not be able to read the internal GPS info. However - I cannot think of any scenario where allowing the camera app from a locked phone to access location information could be a problem, and I'd like to change this behavior if possible. I rely heavily on the 'geo-tagging' information stored in photos and it is quite often a pain to unlock the phone while hiking, etc (fingerprint reader still not exactly perfect, and having to enter PIN when trying to capture a 'scene' not always desirable).
I've tried every setting I can find relating to security and location services, and I've searched high and low for answers. Part of the challenge here is, keywords such as 'lock', 'location', 'camera' etc result in a high number of hits, and 99.9% of people seem to be asking for how to enable location tagging in general, not specifically when the camera is launched from the lock screen.


text:
Open Gapps Google Services installation on Android 5.0 based TV
Device:
manta.com.pl 43" TV with Android 5.0 on the board.
I have an root access through ADB shell.
Issue:
I need google services to run Youtube for Android TV.
How I tried to solve:
I donwloaded Open Gapps Nano for Android 5.0, extracted a few files from it and pushed to the /system partition. I don't have TWRP recovery there.
.
./etc
./etc/preferred-apps
./etc/preferred-apps/google.xml
./etc/permissions
./etc/permissions/com.google.widevine.software.drm.xml
./etc/permissions/com.google.android.media.effects.xml
./etc/permissions/com.google.android.maps.xml
./etc/sysconfig
./etc/sysconfig/google_build.xml
./etc/sysconfig/google.xml
./priv-app
./priv-app/PrebuiltGmsCore
./priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk
./priv-app/PrebuiltGmsCore/lib
./priv-app/PrebuiltGmsCore/lib/arm
./priv-app/PrebuiltGmsCore/lib/arm/libconscrypt_gmscore_jni.so
./priv-app/PrebuiltGmsCore/lib/arm/libwearable-selector.so
./priv-app/PrebuiltGmsCore/lib/arm/libAppDataSearch.so
./priv-app/PrebuiltGmsCore/lib/arm/libleveldbjni.so
./priv-app/PrebuiltGmsCore/lib/arm/libgcastv2_support.so
./priv-app/PrebuiltGmsCore/lib/arm/libgoogle-ocrclient-v3.so
./priv-app/PrebuiltGmsCore/lib/arm/libinertial-anchor-jni.so
./priv-app/PrebuiltGmsCore/lib/arm/libWhisper.so
./priv-app/PrebuiltGmsCore/lib/arm/libgcastv2_base.so
./priv-app/PrebuiltGmsCore/lib/arm/libjingle_peerconnection_so.so
./priv-app/PrebuiltGmsCore/lib/arm/libjgcastservice.so
./priv-app/PrebuiltGmsCore/lib/arm/libgmscore.so
./priv-app/PrebuiltGmsCore/lib/arm/libvcdiffjni.so
./priv-app/PrebuiltGmsCore/lib/arm/libsslwrapper_jni.so
./priv-app/GoogleServicesFramework
./priv-app/GoogleServicesFramework/GoogleServicesFramework.apk
./priv-app/GoogleBackupTransport
./priv-app/GoogleBackupTransport/GoogleBackupTransport.apk
./framework
./framework/com.google.android.maps.jar
./framework/com.google.android.media.effects.jar
./framework/com.google.widevine.software.drm.jar

But google services don't start, I see the following native crash:
    I/ActivityManager( 2608): Start proc com.google.android.gms for service com.google.android.gms/.chimera.GmsIntentOperationService: pid=3452 uid=10014 gids={50014, 9997, 3003, 1028, 1015, 3002, 3001, 1005, 1007, 3007, 2001, 3006} abi=armeabi-v7a
W/ProviderHelper( 3430): Unknown dynamite feature providerinstaller
I/DynamiteModule( 3430): Considering local module providerinstaller:0 and remote module providerinstaller:0
W/ProviderInstaller( 3430): Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0.
V/NativeCrypto( 3430): Registering com/google/android/gms/org/conscrypt/NativeCrypto's 286 native methods...
W/ResourcesManager( 3452): Asset path '/system/framework/com.android.media.remotedisplay.jar' does not exist or contains no resources.
W/ResourcesManager( 3452): Asset path '/system/framework/com.android.location.provider.jar' does not exist or contains no resources.
W/ActivityThread( 3430): ClassLoader.loadClass: The class loader returned by Thread.getContextClassLoader() may fail for processes that host multiple applications. You should explicitly specify a context class loader. For example: Thread.setContextClassLoader(getClass().getClassLoader());
W/System  ( 3430): Could not create com.google.android.gms.org.conscrypt.OpenSSLSocketFactoryImpl with ClassLoader android.app.LoadedApk$WarningContextClassLoader@3dc96d1d: com.google.android.gms.org.conscrypt.OpenSSLSocketFactoryImpl
I/ProviderInstaller( 3430): Installed default security provider GmsCore_OpenSSL
I/art     ( 3172): Explicit concurrent mark sweep GC freed 2659(106KB) AllocSpace objects, 0(0B) LOS objects, 39% free, 4MB/7MB, paused 1.726ms total 35.015ms
I/Safeboot( 3430): Checking safeboot...
W/art     ( 3452): Verification of void rtf.onCreate() took 138.949ms
W/DynamiteModule( 3452): Local module descriptor class for providerinstaller not found.
W/ProviderHelper( 3452): Unknown dynamite feature providerinstaller
I/DynamiteModule( 3452): Considering local module providerinstaller:0 and remote module providerinstaller:0
W/ProviderInstaller( 3452): Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0.
V/NativeCrypto( 3452): Registering com/google/android/gms/org/conscrypt/NativeCrypto's 286 native methods...
I/art     ( 3430): Background sticky concurrent mark sweep GC freed 33203(1508KB) AllocSpace objects, 1(16KB) LOS objects, 13% free, 10MB/11MB, paused 7.459ms total 861.420ms
I/Safeboot Condition( 3430): No need to enter Safeboot.
W/Primes  ( 3430): Primes not initialized, returning default (no-op) Primes instance which will ignore all calls. Please call Primes.initialize(...) before using any Primes API.
W/ActivityThread( 3452): ClassLoader.loadClass: The class loader returned by Thread.getContextClassLoader() may fail for processes that host multiple applications. You should explicitly specify a context class loader. For example: Thread.setContextClassLoader(getClass().getClassLoader());
W/System  ( 3452): Could not create com.google.android.gms.org.conscrypt.OpenSSLSocketFactoryImpl with ClassLoader android.app.LoadedApk$WarningContextClassLoader@21fd60b7: com.google.android.gms.org.conscrypt.OpenSSLSocketFactoryImpl
I/ProviderInstaller( 3452): Installed default security provider GmsCore_OpenSSL
I/Safeboot( 3452): Checking safeboot...
I/Safeboot( 3452): Not entering safeboot; wrong process.
W/art     ( 3452): Suspending all threads took: 6.199ms
W/Primes  ( 3452): Primes not initialized, returning default (no-op) Primes instance which will ignore all calls. Please call Primes.initialize(...) before using any Primes API.
I/art     ( 3452): WaitForGcToComplete blocked for 3.045s for cause HomogeneousSpaceCompact
W/art     ( 3452): Suspending all threads took: 9.346ms
F/libc    ( 3452): Fatal signal 6 (SIGABRT), code -6 in tid 3452 (gle.android.gms)
I/DEBUG   ( 3304): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   ( 3304): Build fingerprint: 'AndroidTV/nt72668_hikeen/nt72668_hikeen:5.0/LRX22C/huangds04090501:userdebug/release-keys'
I/DEBUG   ( 3304): Revision: '0'
I/DEBUG   ( 3304): ABI: 'arm'
I/DEBUG   ( 3304): pid: 3452, tid: 3452, name: gle.android.gms  >>> com.google.android.gms <<<
I/DEBUG   ( 3304): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
I/DEBUG   ( 3304):     r0 00000000  r1 00000d7c  r2 00000006  r3 00000000
I/DEBUG   ( 3304):     r4 b6736114  r5 00000006  r6 0000000b  r7 0000010c
I/DEBUG   ( 3304):     r8 2b4ae920  r9 a3aa2761  sl 00000000  fp be41a8b8
I/DEBUG   ( 3304):     ip 00000d7c  sp be41a578  lr b66bff29  pc b66e4250  cpsr 600e0010
I/DEBUG   ( 3304):
I/DEBUG   ( 3304): backtrace:
I/DEBUG   ( 3304):     #00 pc 0003b250  /system/lib/libc.so (tgkill+12)
I/DEBUG   ( 3304):     #01 pc 00016f25  /system/lib/libc.so (pthread_kill+52)
I/DEBUG   ( 3304):     #02 pc 00017b43  /system/lib/libc.so (raise+10)
I/DEBUG   ( 3304):     #03 pc 00014399  /system/lib/libc.so (__libc_android_abort+36)
I/DEBUG   ( 3304):     #04 pc 00012b68  /system/lib/libc.so (abort+4)
I/DEBUG   ( 3304):     #05 pc 000a082d  /system/priv-app/PrebuiltGmsCore/lib/arm/libconscrypt_gmscore_jni.so
I/DEBUG   ( 3304):     #06 pc 00017557  /system/lib/libc.so (pthread_once+90)
I/DEBUG   ( 3304):     #07 pc 00072fc5  /system/priv-app/PrebuiltGmsCore/lib/arm/libconscrypt_gmscore_jni.so
I/DEBUG   ( 3304):     #08 pc 000a086d  /system/priv-app/PrebuiltGmsCore/lib/arm/libconscrypt_gmscore_jni.so
I/DEBUG   ( 3304):     #09 pc 000a063f  /system/priv-app/PrebuiltGmsCore/lib/arm/libconscrypt_gmscore_jni.so
I/DEBUG   ( 3304):     #10 pc 000a0753  /system/priv-app/PrebuiltGmsCore/lib/arm/libconscrypt_gmscore_jni.so
I/DEBUG   ( 3304):     #11 pc 0003c70b  /system/priv-app/PrebuiltGmsCore/lib/arm/libconscrypt_gmscore_jni.so
I/DEBUG   ( 3304):     #12 pc 01c9a8bd  /data/dalvik-cache/arm/system@priv-app@PrebuiltGmsCore@PrebuiltGmsCore.apk@classes.dex
I/DEBUG   ( 3304):
I/DEBUG   ( 3304): Tombstone written to: /data/tombstones/tombstone_00
W/art     ( 3430): Suspending all threads took: 1.387s

Any suggestions how I can solve it?

I think you need Google Account Manager first, then the Google Services Framework to install Google Play Services?

Do I need Google Account Manager and Google Play?

Yes. You need them since Youtube is a google app. You need Google Account Manager, Google Services Framework and then Google Play Services. As for Google Play, if you can install it it is the easiest way to install Youtube afterwards.


text:
'|' types '\' instead
I recently got a Logitech K380 (Turkish Q layout).
When I type '|' (Alt Gr + <) it types '\' instead.
I've already checked for:

Mismatched layouts: but all other keys (including '\', which is bound to AltGr + *) type properly.
Defective Keyboard: but keyboard works fine on a Windows PC.

I've tested it on two different devices, one with KitKat and another with Lineage 16. Both have the problem.
A possibly useful thing I found was that if I were on the UK layout, the keys I pressed would print '\'.
How can I fix this?

Minutes after asking this question, I started trying random combinations in order to see if anything else was out of place.
Turns out, Android decided that AltGr + - was a better shortcut for '|'.


text:
Is there a way to install a imei on a samsung galaxy s9
I have a samsung Galaxy S9 that has no Imei Installed I was wondering if there is any way of boot loading or forcing a imei on to the system it is a retail phone

As far as I remember Samsung usually stores the IMEI info in some special partition called EFS. There are some tutorials online how to recover/repair such a EFS partition. Normally in all custom ROM tutorials there is a big warning that you have to backup this partition first.


text:
Smart Phone flash tool - Readback - EMMC_USER backup
I trying to take backup of my phone. and i use Smart Phone Flash Tool

How can i take (EMMC_USER)(64GB Rom) in HEX ?

Can someone tell me what HEX i need in length in Smart Phone Flash Tool, in tab (Readback, EMMC_USER)
Or are there a better way to take backup of the phone without root access.

you need to perform ram test to get the size for EMMC_PART_USER https://forum.hovatek.com/thread-21972.html

But i got MT6765 but the SP Flash Tool does not support it, it says only (DRAM flip test)

I have answered this very question probably a hundred times in 4 Years.
So instead of wasting time rewriting it all, i made video on how to do it on YouTube.
Instead of just Self Promoting that video as some would see it, Here goes 101.

Remove Battery or Turn Off the Device
Go into Memory Test Tab - SPFT
Tick Whatever Options are Available - Just make sure something is ticked.
Start the Test and Place your Battery back IN
Plug your Phone In
Once the Test Starts, Immediately Stop the Test
Now Focus on a small Panel in the Bottom Left,
( This info is read from the device when connecting )
OK, Now sellect EMMC section in the Panel
Look at EMMC_USER Size in the info

With this info, you can DUMP the Entire device - Or, Split the Dump into Partitions.
DUMPING IS USELESS ON ANDROID 9.0+
ANDROID 9.0+ MANDATES FACTORY SIGNED FIRMWARE ... BACKUPS WONT RESTORE 100%
I CAN RESTORE ONLY - PROJECT TREBLE RELATED PARTITIONS.
OLDER THAN ANDROID 9.0+ DUMPING AND RESTORING IS STILL OK.
DUMPING PRE 9.0+ ( AVB 2.0 )

Open Read Back Tab
Creat a new ReadBack file called EMMC_USER
Set the REGION to EMMC_USER
Set The Start to 0x0
Set the Length to the Size of EMMC_USER in the small panel ( bottom left )
Make Sure Device is Unplugged Prior to Doing any New Action - This is because a Handshake is made on each connection to the preloader, the preloader handshake is only good for One action each connection ( read, write , etc )
Press Start ReadBack
Plug - In device
Wait for 16 GB to download at around 21 MB per second.
Now Dump Preloader
Go ReadBack and Make a new ReadBack of Both EMMC_BOOT0 and EMMC_BOOT1

Sometimes both Partitions are required.
The usual dump length for both is  0x40000
and start is always 0x0 because your dumping the whole thing from 0

i wouldn't say backup is useless because once bootloader is unlocked you can restore from custom recovery (adb push)

https://youtu.be/pJHGAql2xAc here's a new video that cuts the long stuff out ogmf my old one.

pls where is the video?


text:
Galaxy Tab S5E and multiple SD cards
I got a Galaxy Tab S5E today to use as a photo editor. This is the 64gb version so I grabbed a micro SD card and put into it. A 128gb card. The card and tablet work together as expected.
I also grabbed a USB C card reader to plug in my camera SD cards on the go.
The issue I'm having is that the usb card reader is not working unless I remove the micro SD card and vice versa.
Is there any way to fix this?
The card reader doesn't registers as an SD card. It registers as a "usb mass storage device" so I'm not sure why there would be any type of conflict.


text:
How to let phone calls from a specific number bypass 'Do Not Disturb'?
I often turn on 'Do Not Disturb' mode, especially at night. I would like a few specific phone numbers to be able to bypass the Do Not Disturb if they call me, so that I can be altered in case of emergency. Is there any way to do it?

Never tried it, but doesn't "starring" a number whitelist it for DND? Or was there an additional setting involved? I just vaguely remember "starring" (marking a contact as favorite) was involved. Worth a try while waiting for answers. Let me know if it did the trick ;)

You should be able to set an exception rule to allow calls and texts from certain people (All/Contacts/Favorites).
Different manufacturers will have different set ups but you should be able to get to this setting by going
Settings > Sound & notification > Do Not Disturb > Exceptions
You may need to turn on Do Not Disturb to alter these settings.


text:
how to fix ioctl permissions denied error?
I searched in lots of websites/forums but did not find a solution for this problem, and this site is last chance, this is problem:
This problem have several other users too.
my phone is Galaxy S7 Edge , exynos, Oreo 8.0 (Stock ROM), rooted with magisk latest version.
root works well in other applications.
In pentesting applications like csploit, Network Spoofer, WifiKill and others  root works well(grants permission)  but when start using options of app(for example, arp spoofing, network sniffer, MITM, etc) drops same error:
[ERROR] Unable to retrieve local hardware address libnet ( ioctl: Permission denied )
what to do? Can this issue fixed? or exactly which permission is it?
Also one interesting thing, when I installed old version of WifiKill app it worked - killed wifi connection.

If old version works it indicates that the problem is with the new version of app(s), probably with latest release of libnet since all apps are  based on it. So the only one who can help you with this is the app developer. For us [ERROR] Unable to retrieve local hardware address libnet ( ioctl: Permission denied ) is not enough to figure out why libnet was unable to get MAC address and which ioctl failed. More logs are required. If command-line execution is possible get strace output.

I do not know well commands, but I found this app CatLog and recorded logs, maybe its what is needed for this situation? I cut several lines about application(network spoofer).

02-29 02:11:49.571 V/android-netspoof(10524): cout: Current Wifi IP: 192.168.0.100
02-29 02:11:49.571 V/android-netspoof(10524): cout: Current subnet: 192.168.0.0
02-29 02:11:49.571 V/android-netspoof(10524): cout: Subnet mask: 255.255.255.0
02-29 02:11:49.571 V/android-netspoof(10524): cout: Enabling ip_forward

02-29 02:11:49.572 V/android-netspoof(10524): cout: Starting ARP Spoofing
02-29 02:11:49.572 V/android-netspoof(10524): cout: arpspoof -i wlan0 -t 192.168.0.102 192.168.0.1
02-29 02:11:49.572 V/android-netspoof(10524): cout: iptables -P FORWARD ACCEPT
02-29 02:11:49.572 V/android-netspoof(10524): cout: iptables -I natctrl_FORWARD -j RETURN
02-29 02:11:49.572 V/android-netspoof(10524): cout: iptables -t nat -A POSTROUTING -j MASQUERADE
02-29 02:11:49.572 V/android-netspoof(10524): cout: iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 3128

02-29 02:11:49.572 V/android-netspoof(10524): cout: dSploit ArpSpoofer.
02-29 02:11:49.572 V/android-netspoof(10524): cout:
02-29 02:11:49.573 V/android-netspoof(10524): cout: [ERROR] Unable to retrieve local hardware address libnet ( ioctl: Permission denied ).

finally, I solved this problem , it needed permissive selinux mode, so I installed custom kernel on my phone and everything works perfect.


text:
How can I disable notifications in the pulldown but keep status bar icons, for a specific app?
I have an app that gives me the current date in a non-Gregorian calendar. It has a permanent notification (I can't swipe it away to dismiss it) that I see in the pulldown notification area and an icon in the status bar. I only want to see the status bar icon. How can I do that?

Only possible if the app settings have that option

I don't think it's possible since the requirement to show an icon on the status bar for 3rd-party apps is to have a notification instead...


text:
What is "GPUwatch Interceptor app"
I was going through my settings today and I clicked on privacy then checked my special access and noticed something I've never seen before. An app called watch GPU interceptor it had full access permissions with no description. I turned it off went back to the main menu a few minutes later I went back to special access and it was still there and set to on, full access. I searched everywhere I could on my phone went through apps permissions I couldn't find it as an app. I found GPU watch which was in developer options, I turned off developer options then went back to special access and had to turn off ""GPU watch Interceptor "" again. I cannot find that exact phrase in Google search. I'd like to know if this was something that I turned on in developer options or if it was some sort of Hack / malware.
I'm using a Samsung S10 Plus, with Android 10 on Verizon and home Wi-Fi
I have added a screen capture of what I saw
Thank you

No, It doesn't a malware.
GPUWatch aids developers in their monitoring and measurement of performance between Vulkan and OpenGL ES. It’s now packed with new features, such as overlaid measurement results and real-time information on-screen – all made possible without separate installation or PC connection. Samsung NewsRoom

How is showed in the smartphone screen :

image retired from link GDC19

For to deepen in GPUWatch I recommend to you two Youtube videos:
GDC19:  A talk of HyoKeun Lee addressing about why use that tool.
GDC18:  HyoKeun again, showing how to use GPUWatch.


text:
Images received though social media end up in the camera-app Gallery
Lately, in the Gallery app associated with the camera app of my Samsung phone (Android 8.0.0), I can see not only past pictures I've taken with the phone camera, but also pictures that people are sending me through whatsapp, viber and other messenger/social media apps.
I didn't see any options in the Gallery app itself to have those land not in the same place as my camera-taken pictures.
Is there any way to keep the two categories of pictures (whatsapp attachments; and camera pictures) separated?

Which gallery that is (exact package name)? Why don't you try some other gallery app? There are many free, open-source, feature-rich galleries available.

It's the stock Gallery that one gets taken to when one taps on the circular icon denoting the last-taken picture, in the camera app. I'd prefer to keep using this Gallery app due to its ease of access (double-press home button to fire up the camera app)


text:
Moving WhatsApp to new phone without changing number
Not sure if this has been asked before. I would like to move my WhatsApp installation and chats to my new phone and I would like to keep the same number associated with it, but I don't want to move the SIM with the old number into the new phone.
Everything I have read online about moving WhatsApp to new phone seems to apply only to one of two options, taking the old SIM into the new phone, or changing the number on the account to match the SIM in the new phone.
I know this is possible because I have seen French people using WhatsApp with their old French number from years back, but when I call them on their local number, that rings the phone on which the installation sits (not dual SIM)

Bro, it's actually easy! You don't need to remove your old sim and fit into your new phone. I have added the steps for you
First Backup all the data and chat history to google drive from the chats section in settings in whatsapp.

Whatsapp>>:>>Settings>>Chats>>Chat Backup

Second After backing up all the data install whatsapp on the new phone. Then verify your old phone number by getting the otp on your old phone and you will get a option for restoring your data from Google drive.
=>After restoring the data you will get most of the messages back on your new phone!
Yes, I have written "most of the" not "all of the". It's because not all your data gets backed-up. The data which you have downloaded on the old phone will normally gets backed-up with the chat.
To back up all the data I will recommend first downloading all the things and stuffs which you have received from others and then start backing up in your old phone!
(Or) alternatively there are many applications which can do all these things without any sort of manual uploading and downloading. You can search for them on the web and playstore (or appstore)!


text:
Cheap phone disabled flashing with mispelled error message
I have an 'Advanced A4 2019' phone from BLU, and it's known to have spyware. I wanted to flash the phone's recovery with TWRP to install a custom ROM, but I can't seem to enable flashing. It runs android 8.1 at the moment.
Commands I've tried in fastboot:
fastboot getvar all
all:
Finished. Total time: 0.000s

fastboot oem device-info
FAILED (remote: 'unknown cmd.')

fastboot flashing lock
FAILED (remote: 'Not implement.')

.
(This is the good one)
fastboot flashing unlock
FAILED (remote: 'Not implemet.')

That's not my typo, it says not implemet. Also, its worth mentioning that the screen that pops up in fastboot is different from the normal one. Has the binary just been patched and there's no way to put my own OS on it? Thanks in advance

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

@alecxs I can't flash, that's the issue
And I can't su until I flash and root

no MTK_AllInOne_DA.bin, auth_sv5.auth?

@alecxs Just downloaded SP, I'm going to try it out and I'll update

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

@alecxs I can't use SP, I can't find the scatter file
Edit: I'm on a linux computer so I can't get the MTK tools

is this your phone model and ROM version? https://androidhost.ru/Ueo

MTK droid tools is outdated, create scatter file with WwR MTK

@alecxs Good find! Yeah, that's the ROM, I just cant seem to replace it. Although if I recall, there's a mode that you can get to from recovery that'll let you do it

@alecxs That link is dead and everything else is super shady. Is there a way to get it with adb?

try mtk-su but i strongly recommend creating your own scatter and make a full ROM dump with WwR MTK and SP Flash Tool before mess up

links working fine you probably didn't login 4pda.ru it's the official documentation from the original author vvaaavv


text:
How to tell if phone mirrored or hacked
I keep having apps on phone I didn't install yet cannot disable. Phone screen keeps doing its own thing. Google maps timeline keeps being edited. Lots of unusual stuff like that.

Does this answer your question? Malware automatically installing unless I disable the play store

https://www.symantec.com/blogs/threat-intelligence/xhelper-android-malware

It usually can happen because of fall of the phone from height. Maybe your display touch is broken, so it's touching the apps or texting somethings by itself. Try to hard reset your phone. I am not sure but it can help you. Otherwise, you should give your phone to hardware repairer.

Yes, it is possible, happened to me before too. One way to check: can you, the human, still use your phone normally? swipe, tap, etc., on different parts of the screen, and have the expected results? If all that is normal, probably it is not a broken touch screen. If it is not normal, then probably it is a broken touch screen.


text:
Why does the official AOSP website discourage OEMs from implementing support for audio accesory mode usb c to aux adapters?
I stumbled across some documentation from the AOSP project that encourages OEMs to only support digital to analog usb c to aux jack adapters which contain their own dac to convert the digital audio coming from the phone's usb c port to analog for the aux jack. What's so bad about supporting an analog only adapter that uses the phone's existing dac to convert the digital signal to analog and simply treat it's usb c port as if it were an analog headphone jack? Audio accessory mode at least on paper seems like a complete no brainer since it means the adapters are cheaper because they don't need to have their own dac.


text:
Screenshots taken in the work profile are saved in the personal profile
When taking a screenshot of any app in my work profile, the picture is saved to my personal profile.
Is this the default/expected behaviour ?

I'm not sure if it is or it should be the default behavior, but it is expected behavior.
Screenshots are taken (through command-line or key combination or tile) and saved by System UI (com.android.systemui) package which is part of stock Android. When deciding where to save the screenshot file, the path is decided (using getExternalStoragePublicDirectory API up to Android 9 or MediaStore on Android 10+) based on the current User_ID (not UID), which is 0 for device owner (personal profile) and 10, 11, 12 .... for secondary users/profiles.
Since profiles are not completely isolated users but associated to a parent user, separate instances of only essential apps and packages are run under new User_ID. All display related things e.g. notifications, lock screen, status bar etc. in secondary profile are handled by primary user's System UI process which is running under User_ID 0 e.g. with UID 10500. So the screenshot is saved to primary profile's storage i.e. /storage/emulated/0/Pictures/Screenshots/.
However Multiple Users are more isolated than profiles and unlike latter, two users cannot share user interface. When you create and switch to a new user (not enabled on all ROMs by OEMs/developers), a separate instance of System UI app is run e.g. with UID 1010500. So the new user has a separate lock screen and doesn't share notifications with primary user. Likewise a screenshot is saved to /storage/emulated/10/Pictures/Screenshots/.


text:
How do I use my SmartPhone to USB host my old Tablet?
My new moto g7 does not Wi-Fi the correct frequency for my old dragon touch X10.  Android 9 on phone and 5.1.1 on the tablet.  Want to Host from cellular through USB to Client tablet. Any ideas on how to get the internet connection through? Tried PDAnet+ but both devices seem to HOST and I need tablet as client...

Your phone is connected to internet, right? So if your phone supports USB tethering it'll appear as a USB Ethernet adapter on your tablet which must be supported on your tablet, but is highly unlikely. PDANet requires a client-side software (on PC) which is not available for phones (in USB OTG mode) AFAIK.

What is the exact problem with the Wifi frequencies? Does your new phone use a unsupported/disallowed channel in 2.4GHz (which one?) or does it only provide a 5GHz hotspot?


text:
Hear myself in headset during call?
I have this issue when using earbuds. When I talk on the phone, since the buds are plugged into my ears, I can't hear my own voice and I find myself shouting.
Is there a way to configure Android so that I can hear my own voice thru the headset?
I'm on a Samsung Galaxy Note 9, with Android 10.

I doubt it, and you wouldn't want it anyway. Hearing your own voice as an echo in the phone is very annoying for most people. Simply remember to not scream... Most people manage it these days.


text:
How accurate is Google Play installs measure?
When you look at app listing in Google Play there is "Installs" section:

How accurate is that? What values can be found there? Does is take uninstalls into consideration?

Does this answer your question? What does downloads mean in Google Play store app page?

Kind of yes. But not exactly. There are some valuable information but not all I want.

When using a browser on a PC or phone, "Installs" is shown. But when using the Play Store app, "Downloads" is shown.

It doesn't take uninstalls into account. It is very slow to update and based on the all-time number of individual Google accounts that installed it, NOT the devices.
That's all based on what I experienced, from the Play Console combined with Store
Possible values include:
1+
5+
(Maybe some more)
100+
500+
1k+
5k+(?)
10k+
50k+
100k+
(Maybe some more)
1m+
(Maybe some more)
1b+


text:
What and when clears content of /data/local/tmp?
I plan to copy and start precompiled binary from  /data/local/tmp and I would like to get any information one edge cases that might cause some potential issue, like - what and when this folder being cleared out during either normal OS operation or reboot? Okay, the reboot case is obvious but what about normal operation? Do these "Clear cache" tools normally clear it out as well? Any default services/daemons that do that?

I beg to differ that a reboot deletes files in /data/local/tmp. Never did a reboot delete any of my files located there in any of my phone.

it is never cleared

... at least on stock Android.


text:
Connecting Phone to PC...USB socket seems to be dirty
It used to work.
I could connect my phone to my PC with a USB cable and then browse the phone, like a mounted USB drive, with Windows explorer.   Moving files back and forth was easy.
Then it stopped working.  I used a wooden toothpick to dig some lint and dirt out of the phone's USB port.  I also hit it with compressed air.
It helped but it is really intermittent...I have to wiggle and jiggle the USB cable to get the drive to mount.  And it's not reliable.   I tried another cable with the same result.
So...what is the best way to clean a phone's USB port?

Are you sure the port is still dirty? The mechanical force you used for (un)plugging and cleaning may have caused a loose connection between the USB socket and the phone mainboard.

the only solution is resoldering and replace new usb jack for ~ 30 bucks. or if you're lucky you can replace usb connector board DIY (much cheaper). watch on youtube, buy on aliexpress

First, I powered off the phone.
Then, I took some contact cleaner (the kind used to clean old TV tuners and potentiometers) and sprayed it into the female USB port.  I plugged and unplugged the male USB plug several times.  I blew out the port with compressed air and powered the phone back on.
Success!
(thanks for the suggestions and comments)


text:
App not installed. This app isn't compatible with your phone
Rooted my Tecno Spark K7 Android 7.0 Nougat (Stock ROM + Magisk + TWRP). Trying to reinstall my apps from backup apks but I'm getting this message App not installed. This app isn't compatible with your phone. Doesn't really make sense to me, since I'm using the same apks that were installed on the same phone with the same stock ROM.
Only difference is the rooting but my old phone was also rooted, and I had no trouble reinstalling its apps, so I honestly don't see how rooting is the cause of my current issue.
How do I solve this?

install from Google Play, or copy files into /data/app/-1/base.apk and chown 1000.1000

@alecxs, I'm going to try that and see how it goes. Thanks.


text:
"Blocked by your IT admin" Samsung Galaxy 8
I'm trying to install Android Auto from apk but I get the message "Blocked by your IT admin. Unknown apps can't be installed on this device." In the last 18 months I have downloaded that app already 2x without any problems.
I have already given permission to install unknown apps from Chrome and My files. Deactivated Play Secure and any device admin apps (the only one I saw was Find my location).
I do have work e-mail app but according to my employer "Our Mobile Device Management platform (MobileIron) doesn't block any installation on your private device, as a completely separate Workspace is created and managed by us, which doesn't interfere with your private configuration".
What else can I try doing before I ask them to remove MobileIron?

Had the same issue. For me it was only fixed by disabling Google Play Store in personal profile. It wasn't easy process as it depends on Google Play services which can be disabled only after stopping Work profile. So the flow was: 1) Stop Work profile from top menu, 2) Force Stop and disable Google Play Services in Personal Profile, 3) Disable and stop Google Play Store in personal profile. After this I started Work profile again.
Hope this will help.


text:
magnifier glass app, on fingertip only
I am looking for an app (maybe it never existed and I imagined it), but it is a screen magnifier that only magnifies a small circle around your fingertip, like the equivalent of a 5 letter word, ideal for magnifying specific words or areas of your screen, I think I saw it once (on iphone maybe?), you just need to keep your fingertip on screen for about 2 seconds then a small circle appears above your fingertip magnifying anything under it, and you can move it all around your screen, and disappears when you lift your finger, is there such thing?
There is the triple TAP but it zooms the whole screen and I do not want that.

I think you are most likely to have seen what you are describing on an iPhone, however there is a similar function available as of Android 9.
You can use the Magnifier Widget on a piece of text by highlighting it and dragging the selection handle as shown on this page.
You can drag the handle around to magnify any of the text on-screen, one downside though is that the magnifier will 'snap' to each line of text which can take a little getting used to.


text:
Is there a difference between disabling app notifications in-app vs. Android OS?
Is there any effective difference between disabling an app's notifications in the app itself vs. via Android's per-app notifications panel?
I've defaulted to first trying to disable any notifications in the apps themselves, attacking at the root, rather than relying on the Android OS per-app notifications permissions. My thought is that doing it this way stops the app from sending a notification at all -- and thus, less battery used -- vs. Android merely hiding some notifications from view.
The downside to this is the inconvenience in having to go into the app itself and wander around the settings, with notification settings not always the simplest to reach, and in some cases, the app doesn't have granularity of notifications to tweak or limit.
Is there any basis to this, or is there no effective difference to managing/disabling notifications via Android's per-app settings?

A good question. My assumption is that in-app disabling usually means that the app sends an "unsubscribe" to the push server so that it does not get any new notifications. Disabling notifications via Android settings I would assume only affects the "visible part", hence that the notification is (not) shown. The device should still get the push notifications, because I don't see a way how Android should be able to send the "unsubscribe" message to to the push server.

@Robert, the phone prevents connections from the outside in. How would a push be implemented? Would it use a Google Pub/Sub service the Android can connect to?

@AlexisWilke The same way it is always done: open a connection and wait for data (the push event). A well documented example of such a technology is IMAP IDLE command. BTW: true push is possible. The now gone Blackberry system had shown that it is possible but has the drawback that it requires special data plans...

I've programmed Android a little bit and normally the answer is No.
An application, though, could have a pull of an external server data point which is not registered with the system. This would not always work if not properly registered with the OS. It would certainly work just fine while running the app. and thus in that situation, the app. specific settings would indeed be different.


text:
Is there an non-engineer-friendly auto-"convert apk architecture" tool for linux/anbox?
Non-android entheausist here, just wondering why "convert apk architecture" returned no search results on duckduckgo, as did my search for an x86_64 version of the Kindle.apk...

Can you explain what you are trying to do? I am confused to what you are interested in as I am not familiar with converting apk architectures

@GabrielFair I believe the asker wants to have the appropriate APK with native libraries compiled for x86_64, as explain on this answer, since running an app with unsupported architecture will potentially crash the app when calling the missing native libs.


text:
how could I view google maps search history? (not location history)
how could I view google maps search history?
I mean beyond . a day or two, so eg a month back or a year back.
I don't mean location history.

You can view and search your history on https://myactivity.google.com .
There is the option to „filter by date & product“, from where you can select Maps and a period of time.


text:
How is google call screen streaming audio to an incoming call?
I have been trying to stream an on-device audio file to an incoming call, I am not able to achieve that. but it looks google call screen is having no problem streaming audio to an incoming call.
I just wanted to understand how are they achieving that, if it is fundamentally not possible?

Welcome. This site is for end users of Android. The link you provided is to Google's call screen which has no streaming audio, just Google intercepting the call and identifying possible spam numbers and voice transcription. Programming Android questions should be on https://stackoverflow.com/questions/tagged/android Oddly your accounts aren't linked as I see your post: https://stackoverflow.com/q/59127262/295004

Google assistant is sending feedback also the caller

And yeah, i have posted the question in SO also, i was not sure which is the right place to ask the question.


text:
Clock app freezes
The app that is responsible for clocks keeps freezing. The lock screen widget, the normal widget, the status bar clock and the clock inside the app itself all occasionally show incorrect time (usualy between 10 minutes and couple hours before current time; not even always the same). Alarms won't work when this happens and lately it has been happening multiple times a day. When the clock gets "unstuck" it just jumps right to the correct time and sometimes freezes again. The internal phone clock probably work fine based on what the other apps show. It started about 3 months ago as once-in-a-week thing and has been happening daily for a month now (so I obviously restarted it many times during that time).
The device is Hammer MyPhone Energy with Android 7.0. and it is not even a full year old.

The variety of durations where this is noticed is symptomatic of Performance Enhancement apps closing other apps when in the background. Check your system for 'Performance' or 'Battery Saver' to designate your clock app as exempt from closure. Sorry, I don't read Polish, so I can't lead you to the right place in its user manual found here.

Thanks, I found user manual here, the english starts on 15th page, but I didn't manage to find any relevant info in there.

Check whether the automatic time and timezone synchronization are set on the Settings, then try turning off and see if the issue still persists. Also, does the clock freeze until the "seconds" part? The date-time is actually persisted in the system, and all clock-related apps/widgets only retrieve the value from there.  The strange things are the status bar and alarms since they are also usually managed by system, not app. This might indicate there's something wrong at the system level.


text:
How to use the phone's speakers and microphone during calls, but use the headset for all other sounds?
When making calls I prefer using the phone itself instead of my headset. Is it possible to configure Android to do so? I'm using a rooted phone with Android 9.0 if it matters.
There are solutions online for how to disable the headset microphone, but not for disabling the speakers of the headset as well during calls.


text:
Forward calls to messenger
Is it possible to forward network calls on an Android mobile phone through a messenger, like Telegram or Whatsapp, to a set contact?
Could IFTTT be used for this?

Call forwarding is a telephony or carrier function. It works amongst voice networks or some VOIP sites. For it to work with messenger apps:

They should mutually allow it, which is unlikely given the revenue models of voice calling (at times call forwarding is a paid service even for voice networks) .
Security concerns - for example, if the calling number cannot be identified across messaging apps, it would not be permitted. There could be more such scenarios.
Encryption. Voice calls of WhatsApp are encrypted. Same is the case with
Telegram.
They would not like to expose or let others use their proprietary encryption.

There may be more reasons too. Only after it is legally and financially viable a messaging app will expose an API that can be used for this. Till such time this is possible, automation is ruled out irrespective of the app


text:
Where is info from /proc/dumchar_info used, on MediaTek devices?
There are plenty of instructions for changing partition layout on Android, including MediaTek devices, and they say I need to edit MBR, EBR and a ‘scatter file’ and to feed the latter to SP Flash or MTKDroidTools. However, as noted in an answer to “Where does the partition information in /proc/dumchar_info come from, on MTK devices?”, the MediaTek-specific /proc/dumchar_info can't be changed with those means.
Thus the question, where is info from /proc/dumchar_info used? And if it doesn't reflect the actual partition layout and doesn't agree with MBR, EBR and the ‘scatter file’ then what effects should I expect?

Mostly recent devices (with eMMC or UFS) have GPTs. dumchar_info is only specific to MTK devices with MBR partitioning scheme (EBRs allow to have 4+ partitions). Since proc/dumchar_info isn't a standard interface which AOSP code expects to be there, so it depends on the ROM you are using, whether it's reading partition info from the said file in userspace or not. Neither AOSP requires /proc/partitions from Linux kernel to expose necessarily. But programs like blkid and e2fsprpgs may depend on this.

However the proper way to update partition table should be to build everything with updated headers; preloader, bootloader (U-Boot/LK), boot kernel, recovery kernel and scatter file to be used later for flashing.


text:
What could be the cause of my phone going into safe mode?
I have a Huawei phone and I have been using it for several years but recently it sometimes ( very rarely) goes into safe mode. The android version is 6.
I do not have any external cover so no buttons are being accidentally pressed.


text:
Where is a file actually located in case of bind mounts
I have a rooted phone with Magisk 20.1 running on it. Inspired by this answer on Unix SE, I successfully created a bind mount using Termux. It was between a folder on external SD card and one in the internal storage. The commands executed are as below:
>su
>mount -o bind /storage/6333-6461/Books /storage/emulated/0/Books

The original folder in SD card is about 9GB, and my phone memory had only 1.2GB free. Needless to say, thanks to the Linux architecture, there was no problem because the folder in internal storage was just pointing to the one in SD card.
Now, I placed a test file in /storage/emulated/0/Books, and it was instantly visible in the original folder in SD card.
Then I removed the bind mount using the command >umount /storage/emulated/0/Books. I found that the test file was still there in the original folder in SD card.
My question is: When I placed the test file in the bind mount before unmounting, where was it actually located: in internal storage or external SD card? If I place a large file in the bind mount (i.e. in /storage/emulated/0/Books), where will the file take up space: in the internal storage or the SD card?

I had used similar Magisk modules earlier (don't recall which one) but to answer your question, file is on external SD. To verify place a really large file >10 GB. It can't fit into your internal storage but it will allow because it is stored on external. I don't understand the how

Thanks @beeshyams. 10GB would have been to much; I tried with a 300MB file. You are right. Maybe post this as an answer that I can accept?

Thanks but no because the answer should also explain the how,not just the end result. I am sure someone else can explain.//BTW 300 Mb file is not a good test case because it is smaller than internal free space. Try something larger than internal free space.

Obviously your file would be written to external SD card, that's the whole purpose of bind mounts. Your actual question is How bind mounts work? and it's generally about any Linux-based OS, not Android specifically. However bind-mounting inside storage/emulated/0 may cause you trouble in some situations. You may want to read details here: https://android.stackexchange.com/a/217936/218526


text:
How to attend my phone call from android phone in Mac?
I am using Asus Zenfone Max M1 Pro with Android 9.0
I wanted to attend my phone calls from mobile in Mac machine running 10.15.1 macOS Catalina,
I have tried, Airdroid, it doesn't support.
Any help will be appreciated. Thanks

https://apple.stackexchange.com/a/111194

https://www.xda-developers.com/scrcpy-control-android-on-pc

http://gizmostorm.com/how-to-receive-calls-on-mac-from-android


text:
Preventing the screen going on on power connection
Whenever my phone is connected to the power source the screen goes on, I would really like to disable this feature, but cannot find any relevant option.
In case you want to know why this causes me problems I have disabled automatic screen off and the roads are very bumpy and regardless how many new cables I buy they cannot prevent power cable reconnecting.
HTC U11 Android 9.

Activate developer options by tapping about phone /build seven times or more and look for something like stay awake and toggle that. See this for developer options activation https://www.htc.com/sea/support/htc-u11/faq/enable-developer-options.html

I'm afraid it misunderstood my question, I love stay awake feature, that's why I do not want automatic wake up on power connection.

HTC U11 has AFAIK a USB-C connector. If the usb connection is unstable I would assume that the USB plug on the phone has a loose connection and should be fixed by replacing or soldering.


text:
Phone manufacturer prevents installation of apps signed by third paries, does anyone know a way around this?
I'm trying to put apps on an LG Exalt VN220, which is a flip phone that runs on a limited version of android. Whenever I try to install an apk using adb I get the following message: INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES. From a quick Google search I learned that this usually occurs when you try updating an app with an update that has a different certificate. This can not be the case because these apps were never installed on the phone before. When I pulled stock apps from the phone and tried to install them I got: INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION. However when I install apps by LG that did not come on the phone they successfully install. Does anybody know if there is a way to get around this?

Hi and welcome!  This is a rather old phone.  ❧  When was the last firmware update released?  Maybe it has some security vulnerabilities.  Can you somehow root the phone?  ❧  Why do you want to install apps on a flip phone?  You could buy a different low-end phone (maybe a refurbished Moto E6 or something) for not much money.

How many apps and which specific apps have you tested?

I've tried WhatsApp, eReader Prestigio, Waze and a ton of other apps. It seems to be all apps that are not signed by LG.

Reading responses from the folks on XDA Forum, they haven't been successful either, and looks like this is a very locked-down phone. I'm afraid there's no solution for this issue.

This phone is locked down by the manufacturer and will not allow 3rd party apps. Apps compiled by LG will usually pass though, if they meet specific criteria.
Because it is a flip phone running in a dumbed down android environment, the system state is fragile and warrants extra protection.
Also, as of now, there is no known root method for this device, and it is unlikely that the device will generate enough interest in the dev community to produce one. (See Here.)
4G Flip phones from other manufactures are more susceptible to hacks and workarounds than the LG Exalt.

You need to edit the manifest.xml to com.android.cts.originalpackagename, if you only edit the xml, and not a recompile of the app, it will get past the signature check. as esaphire mentioned, apps4flip and kosherappsforflip have a bunch of already edited apps.

Not sure how it works with LG exactly because I don't own an LG phone. But I had similar issue with my mi phone.
Before you can install any apps using adb you need to enable developer setting allow usb debugging, and allow install via usb. LG might have some other flags too
In older version of android there was a switch - "allow install from unknown sources". Please look for these settings and do the needful.


text:
Captions on with every video even if I switch it of
Ever since youtube last update captions with every video auto on, eventhough I switch it of in my settings. On a different noteI find the captions very irritating because the captions are realy bad not sync different of what the people say in the video and captions to slow. That is way I do not want any captions in my videos.

I u installed all the YouTube updates in the app store and now it seems to work OK, no more irritating captions.

This would have been my suggestion too.
Since YouTube is often installed as a system app you are able to uninstall any updates through setting or through the Play store.
Clearing cache and data through app settings is also a possible solution as this will remove any settings and return the app to its default.


text:
How to share the file names of all the files in a folder in Android?
It is being surprisingly hard to achieve. I've tried so far:

Download file manager apps from Google Play. Unfortunately, "share" shares the files, not the file names. None of them had a option like copy file names
Download backup apps. Unfortunately, none of them backup the file names of a folder.

Any idea to copy to the clipboard or share the file names of all the files of a folder?

The currently written query is not acceptable for SoftRecs.SE. You should follow their guideline to make it on-topic on there.

@AndrewT. I already wrote the question on Android Enthusiasts Stack Exchange. They say it was not acceptable for Android Enthusiasts Stack Exchange. They asked me to ask the question on SoftRecs.SE. So I did. Now, you guys has migrated the question back to Android Enthusiasts Stack Exchange, so it has been marked as duplicated. This is remembering me the bureaucracy / public system xD

FWIW, the question you asked on Android.SE is on-topic (otherwise, it'd had been closed). However, for explicit app recommendations, SoftRecs.SE is more suitable, but the question must have clear criteria of what kind of apps you're trying to find, like "straightforward to be used by elderly people" or something. Otherwise, there's nothing we can't do to help either.


text:
How do I install OTA updates while rooted with Magisk?
First of all, here are my specs (let me know if I'm missing anything):

Device: Moto G7 (river)
OS: Android 9
Build Number: PPOS29.114-134-2
Magisk Version: 20.0
Magisk Manager Version: 7.5.3

I installed Magisk through TWRP.  The device is fully rooted.  I want to install the latest OTA update, and I've been trying to do it using this guide.  I'm stuck on step 2:

tap on the UNINSTALL button and select the RESTORE IMAGES option.

When I follow these instructions, I get this error:

Stock backup does not exist!

How can I install the update and stay rooted?
Notes:

I am okay with re-rooting if necessary.
For some reason, I can't boot into TWRP using the custom recovery I know I installed.  I just get the opened up maintenance android.
This is NOT a duplicate of How do I update an OTA while retaining TWRP and Magisk, only with my phone?

You cannot apply OTA updates unless you are completely stock... period. You will need to flash the stock image that matches what you currently have, or the latest stock image in it's entirety. This will completely wipe the device. That said, Moto has really gotten lazy about releasing firmware images and are often many months behind which is a problem because you cannot downgrade a Moto device. I would honestly suggest going to the XDA forums for your specific device and asking there as this will likely require some finesse that is outside the scope of this Q&A format.

BTW, that isn't an off the cuff comment to push you away or make light of your question... I wrote the "restore to stock" guides on XDA for most Moto devices on XDA from 2015-2018 so I have some background in what I am talking about here.

try out flashfire


text:
Any way to increase sync period on Calendar?
Is there any way to get my Galaxy S10 calendar to sync with entries that are more than 1 year in advance?
I have a calendar dedicated to keeping track of SSL certificate expiry (over 50 individual sites) so I have an entry for each site.
The problem is that some of my clients send me SSL certificates which have expiry dates 2 or 3 years in the future... so I update the existing entries with the new expiry date.
The result is that my phone leaves existing entries at their previous date, because they're now outside of the sync period.
Is there any way to increase the sync period... or is the simple answer to delete the old item and create a new one (instead of changing the date)?

What calendar data provider is used (local, Google, Exchange account, ...)? Have you tested a different calendar app to identify if this is an issue of the calendar app or the calendar data provider?

Yep, fair questions @Robert... it's Google calendar... not sure why I failed to highlight that originally.  And no, I haven't tried any different yet... I will do and get back to you


text:
How does Backup to Google Drive work?
What apps and apps data is backed up? Some apps may use large amounts of storage, how does android decide what to backup?


text:
How to decrpytion from twrp
Firstly, I need to say my specific problem so that this question won't marked as duplicated.
I've an android phone that has already root access and bootloader lock open. And recently I dropped it and its screen (lcd panel) was blacked out and no feedback about screen. But locally its touch panel %90 of screen was working because someone calls me it can answer and rejecet call if you swipe it from its oginal coordinates of screen.
However, I connect it from Vysor app to see screen and it was successfully done its process but I couldn't backup at that position because of time limitation about my life. A day later, I tried it again but not worked. After  this I reset it but now it ask me to enter password manually for first time and fingerprint doesn't work. At this step I forced to power loss (by holding power button of phone) to start it from bootlader. And I started it from bootloader and boot from my previously used twrp.img version that has ability of decrypt password and was confirmed previously time before this happened. After this step it decrypted successfully and I deleted /data/system/gatekeeper.pattern.key after I backedup 58 bytes file. Now I have backup of .key file. After that I reboot phone to open normally but it doesn't ask password also doesn't decrypt userdata partiton. And stuck on Phone is starting... screen.
Now, I realised that I set password again with same value from when system was awake. so my partition was encrypted before it was successfully decrypted. So if my password is true the TWRP security codes (that check if is successfully decrypted it) but it fails even if I use correct password. So I need to find algorithm of decryption and I will apply algorith twice.
In short, I need somehing like that but it won't check if password correct or not
twrp decrypt $PASS ; twrp decrypt $PASS.
otherwise it will fail on first time so second time and so on it will repeats.

Does this answer your question? Attempting to brute force Android security pattern through TWRP via adb

Sadly NO. Becaause in my situation it remains encrypted even if I use RIGHT pattern because it was encrypted second time before it wasn't actually decrypted.

@alecxs I know actual key that I used because I have never changed password for last 1 year. So I didn't wait 10seconds after attemp because the var: $PASS always same in my situation. But when you do bruteForceAttack you must change $PASS to find out actual key.

Also I mean that it encrypted twice like when you type in shell this command echo $PASS|md5sum|md5sum . The md5 algorith applyed cummulatively with first encryption algorth output like in my situation data partition table was encrypted twice cummulatively.

@alecxs Here is my recovery.log https://pastebin.pl/view/823ba5bc

does not look encrypted twice to me, instead decryption fails on the first try, see
line 79,
line 90,
line 761 are you sure you placed the key backup at right location?
try unofficial TWRP from codeworkx

make a full dump adb pull /dev/block/sda13 ~ 113981 MB / ~ 4 hours (before mess up), then restore cat /tmp/gatekeeper.pattern.key > /data/system/gatekeeper.pattern.key furthermore wait for answer on this question https://android.stackexchange.com/q/216155

@alecxs I set password as lockscreen pattern not as directly password so it is true that it uses gatekeeper.pattern.key. Also I do full dump of my userdata partition as you suggested.(Takes 70mins with usb cable and ssd not 4 hours).However, at this time i dont have key in /tmp/ folder also my old key file was backed up as 58 bytes binary code but only remiving this file and booting device normally, it stucks on phone starting... screen. And again keeping old file with same name and location (restored key) but now it ask pattern but not accepted. I think it uses more files to decrypt it.

@alecxs after some time I bought new phone because of repair cost is so expensive according to new one. Anyway, Now I wondered that if I do brute Force to decrypt it, it has any possibility to decrypt it? With my only one file is backed up and no other files not backed up and I keep them as original file in key location.(Also I am sure I typed correctly the password but maybe the because of file it decrypt with different key) Does it worth to wait it. Any possibility to decrypt in there?

On the other hand, on my new phone, I encrypted with same key but the /data/system/gatekeeper.pattern.key contents completely different my backed up file. Why this is so different key generated with same pattern also decrypted it with new phone and again encrypted and the key again changed.

i am sorry, i am no expert. i believe there is a random generated part which is combined with your screenlock pattern. bruteforcing makes only sense for pattern, not for the missing random part. but i believe it is possible to decrypt


text:
Tracking push notifications that I receive on my android phone
I'm trying to set up a tracker that stores text messages and push notification that I receive on my phone in a google sheets spreadsheet. I have already found a way to forward each SMS that I receive to a spreadsheet using IFTTT. Unfortunately, it seems that IFTTT does not allow you to track push notifications as well.
Question: (If it's possible) How do I set up tracking push notifications on an android phone?

everything is in a sqlite database somewhere, just find the file and export content? not sure maybe it is included in notifications? https://play.google.com/store/apps/details?id=com.evanhe.nhfree

@alecxs thanks for the tip! I might actually do that, but I was hoping to build a more automated process, so that whenever I receive a push notification it gets forwarded to another location

Google push notifications are handled differently than SMS. AFAIK only Google Play Services app has access to all push notifications (as it receives them). Therefore getting those push notifications would require to inject code into Google Play Services, e.g. in form of an XPosed module (requires rooted device + (ed)Xposed installed).
BTW: The push notification often does not contain the actual data. It can be used to "poke" an app so that the app connects to it's backend and loads the actual data (e.g. a messenger message).

Thank you Robert for your reply! How much time would it take to write such code? Isn't there a service that does this? All I want is to track push notifications that I receive from sports websites, and delivery apps.

@titusAdam That depends on how familiar you are with app development, XPosed module development and reverse engineering of Android apps. However there is one problem: the Google Play Services app is a "moving target" it is frequently updated and if it obfuscates it's class names (have not checked it) most likely you would have to adapt the Xposed module after every update.

Sorry that I haven't accepted your answer yet. Do you think that this is an option? https://www.twilio.com/docs/notify/send-notifications?code-sample=code-receiving-a-notification-in-android-1&code-language=Android%20-%20Java&code-sdk-version=default

@titusAdam This article describes how to receive any push notification sent to the app that is being developed in the article, not to all apps system wide.

so this will only work for push notifications that are received on your own app? :)


text:
How to use Viber simultanously on two phones but same account
Is there a way to use synchronized Viber installs on multiple (android) phones?
I know that Viber does not support simultaneous usage of the same account on two phones. Yet I can think of workarounds: I can install Linux on an android phone, and install Viber for Linux. Or remotely control a PC or tablet where Viber is installed. Anybody came up will a less tedious solution?


text:
What does Kindle Fire Optimizing Storage and applications actually mean?
Every time I boot my Kindle fire 10 7th gen, it does this. Sometimes displaying "Optimizing Storage and applications" with progress bar for up to 10 minutes.
The flippin thing runs out of battery while unattended often so this issue keeps arising.
Does anyone know what its actually doing?
Common usage is:
View a web page or two. Watch a YouTube video.
Rarely do I Install new apps or download data.
There isn't much new on the drive to optimize between reboots!
If there are some logs to review, Id love to know which ones and I could post snippets here.


text:
SMS not depleting or opening Huawei Y6
I know this question has been asked here before, but there hasn't been a solution besides to factory-reset the phone.
My phone recently reviewed a SMS/MMS with a title 'No Subject' from a number not on my contacts.
The problem is I cannot open or delete the message. Is there any thing I can do to get rid of this message. My phone is a Huawei Y6 2018
Thnx in advance

Wow, miraculously this went away by its self after days of looking for a solution. In case anyone has the same problem

It could be possible that your current messaging app is not the default messaging app of the system, thus making messages cannot be removed. Check the default message app in the Settings, and head to the desired messaging app to see if it could be deleted.
You may also consider install the official Android messaging app from Play Store and perform deletions there.


text:
Random calls incoming
I am using Redmi note 7 (android: 9 PKQ1) I have run virus scans on my phone, but I am still having this problem: I keep getting random phone calls on my phone, but strangely there's nothing showing on screen. Only ringtone goes off and that's all. Even when I restart device nothing shows up in history catalog.
I'am pretty sure this is some kind of virus and I would like to know if anyone has got same problem as me and some advice on how to fix it.
Any suggestion for virus scanner better than common ones?
Regards,
Highzivs

It is recommended to check what apps have you installed by going into Settings. Find out which apps you cannot recognise but seem suspicious.
And the last resort – remove your so-called virus scanner as some of them are simply virus and luring you to install it to “prevent virus”.


text:
Metronome sound for disk encryption password prompt
In the previous android version (Lollipop, Marshmallow, Nougat and may be Oreo) there was a metronome sound when the phone was waiting for disc encryption password: "To start Android, enter your password".
It was very useful, as it indicated that user action is required.
But now, Pie (and may be Oreo, I don't remember) it's gone. I don't know the behavior of android 10.
Is it possible to bring the metronome sound back?

The older Android versions were using Full Disk Encryption (FDE) mode, therefore the password enter dialog was a small mini-OS booted before the actual Android-OS.
This mini-OS was playing what you are a calling the "metronome sound" when it was waiting for the user password.
I assume this sound was introduced to ensure the user recognizes that the boot process requires user interaction. Because while the mini-OS is waiting for input the whole system is offline and no app is running - including no mobile voice/data or Wifi.
Nowadays Android use File Based Encryption (FBE) which means that every app can specify if a data is encrypted using the system key or the key that requires the user to unlock the device first. Therefore in theory if all apps are correctly implemented a large part of the system should already work before you enter your user password the first time after a reboot.
May be you are able to simulate the old behavior by installing an app that runs only after the Android device has booted up (BOOT_COMPLETED) and then plays a sound similar to your old system. Unfortunately I don't know a suitable app, but I assume programmable scripting apps like "Tasker" may allow you to create a script that plays a sound after the device has booted up.

Sorry for bad explanation, but the question was only about FDE, so it isn't an answer. The Android 9 that I have uses FDE, but has no metronome sound.

@sergio Then most likely your device was upgraded from a lower Android version. Therefore when asking here on Android stackexchange one should always mention the device model.


text:
How to open Facebook app with page share link?
I am sharing a page in FB, when the link is opened in mobile it opens the particular page in browser and not in FB app. I want that link to open FB app with the page displayed in it.

How the link looks (initial characters) and what app you are using to open the link?

Note for future answerers: please don't post code. This site focuses on end-users solving their issue, not developers.

Make sure you have installed the latest version of the fb app
Make sure fb app is capable of opening the link you are clicking on - may be check on your friends phone to see whether the link opens in the fb app
Go to application settings and clear defaults if any for the browser in which the link is opening

--- let me explain in detail the 3rd point
when you click on the link that fb app as well as your browser or any other app could open, you may get a prompt to choose which app you want to use to open the link.
If you choose your browser and tick on remember choice button, the link will then always open in browser.
clearing defaults or uninstalling and installing fb app will help remove this issue.


text:
Quick charge adapter on not supported devices
The adapter which comes with my new phone has Qualcomm Quick Charge 3.0 label on it. The output reads: 5V-3A / 9V-2A / 12V-1.5A. Is it safe to use it with my old phones? For example, if I have a very dated phone which only takes 5V-0.5A, will the adapter outputs 12V and fries it? And what would happen if I use that adapter with devices supporting fast charging technologies from other companies: USB-PD from USB-IF, Pump Express from Mediatek, VOOC from Oppo, and SuperCharge from Huawei?

Is it safe to use it with my old phones?

It is safe. See what happens if you plug a non QC 2.0 device into a QC 2.0 charger?

And what would happen if I use that adapter with devices supporting fast charging technologies from other companies.

They all are proprietary technologies which vary in terms of what is changed to charge fast - Voltage, Current or both, apart from other factors. Details obviously are not in public domain. Therefore, they are not guaranteed to work on devices using other technologies, so one cannot predict whether it works or not.
OEM's don't recommend such practices. YMMV


text:
I don't know how these files got in my photos
I get photos saved in a folder named files, I don't know the people in the pictures . there not photos I took ! How could they have gotten into my phone? and details show /storage/emulated/0/Android/data/com.littleengine.wordpal/files/ .......plz help.

This seems to be the Data asociated to an app called World Wars maybe some other (you can google "com.littleengine.wordpal" to know what aplication is, that is the package name), it's possible those photos are there because are saved data from gameplays or other players avatars, in this case there is not too much to worry about, except for the space of course. If you don't trust the source of the application i recommento to uninstall it, but if you installed it from the Play Store there are almost sure not problem at all.
Anyway, if there is not such application like World Wars or any other, find that folder with the pics and delete it, there'll no be problem, if the folder appears again, consider to install an antivirus or something

Google Play as origin != safe apps.

It's true, Google Play =! safe apps, but if Google finds out that an app contains malware, bye bye, app!

If you take a closer look at the application, you can see that these pictures in the particular folder are profile pictures from the app. So the app uses this so-called folder files as a temp folder. If you are using this game regularly and you are annoyed by these pictures in your gallery app, you should exclude this folder.


text:
Access the Digital wellbeing information from local device
Google has implemented Digital wellbeing as part of Android pie through its Beta experience. This app captures user interactions and creates nice charts for users to understand how much was screen on time and how many times the phone was unlocked and how many apps were used in what proportion during the day, in a week etc.
I wanted to view this data not as a chart but as raw format. Where can I find this information on local device?
If not locally available can we download it from any google service?
Please suggest.


text:
Dual Sim Oppo Reno Z - not receiving notification of voice messages or calls on 2nd sim
I use vodafone as my 2nd sim and Optus as my 1st. I'm not receiving any notification that I have a voice message on my 2nd sim. I also don't receive a notification that someone called on the 2nd sim.
Any ideas on how to correct this?
Thanks

I've fixed it. It was actually an issue with the sim itself and I had to ring the voicemail settings and chose sms notification - which it had already been set up with - again. Vodafone is hopeless or it's an issue with this sim. Thanks