text:
Samsung A8 KG State prenormal
I have problem with KG State prenormal on my Samsung Galaxy A8.
So, I installed TWRP, after I installed SaboorROM, and after connect to WiFi, the device set's the KG state to Prenormal and I was unable to boot into TWRP or into SaboorROM. So I installed Stock ROM (AP: A530FXXSBCTC4 | CSC: A530FODXBCTC2). After install I enabled Developer settings and OEM was already unlocked. So I tried to "date|time changing experiments" to reach KG state checking, but nothing worked. Than I was about 500 hours if KG state will change, nothing :/
OEM: unlocked
FRP: unlock
KG: prenormal
Binary: 11 Android: Pie
How to change KG state?

Same thing happened me as well. On my Galaxy A8 2018, I tried my different things such as changing ROMs, Custom ROMs, and may other things, but ended up triggering KG State Prenormal on my A8 2018, Now I can't use volte. So I using Jiocall.

Apart from not rebooting in a week there's another method that worked for my device (not galaxy a8) but i don't know if it will for you.
So, you need to:

First flash (reflash) official stock firmware, i'd try to flash the version your device had when you bought it, but if you can't, try latest.
Then boot and proceed with the setup. Skip connecting to the internet so you finish it faster.
After you finished the setup, connect to the internet and wait. Enable OEM unlocking in developer settings if needed.
Next log into any valid google account on your phone and wait some time (i waited about an hour).
Reboot to odin mode and kg status should be checking.

If this doesn't work, try factory resetting after that (keeping the bootloader unlocked) and doing everything again but without even enabling developer options.

[...] Sadly there is no workaround just yet. 1 week no reboot is useless if you are on Bootloader 7 (Android 10 or latest android 9 update)
https://forum.xda-developers.com/galaxy-a6/help/official-released-binaries-allowed-to-t4102447
:(


text:
Need help unbricking my Google Pixel (sailfish)
I was trying to downgrade my phone from android 10 to android 7.1 (stock firmware). I have done this before and it always worked, except this time the flash-all.bat tool stopped while extracting the system image. I tried switching USB ports, running the commands myself and this is when it stopped working: I flashed the bootloader, restarted it into the bootloader but it tried booting to system and failed. Now it's hard bricked. I did not lock the bootloader.
After I did some digging I found out I can use an EDL cable to force it into QEDL mode. However, i have never done this before and saw in YouTube videos that you need a processor specific .mbn file. I cannot find them anywhere so far (there was an arabic website with no download link to their unbricking tool).
TL;DR -
My phone hard bricked with the bootloader unlocked and I need help on flashing Qualcomm MSM8996 Pro SoC firmware. My PC still detects it as Qualcomm HS-USB QDloader 9008.

So the device is not entering bootloader mode if you reboot and hold power + vol down?

look in this chat. user @najam shared some collections for firehose programmers (afaik google never leaked some, but worth a try) https://android.stackexchange.com/q/225752

I tried multiple button combinations, none worked. If it helps, bootloader and radio are from version nde63h, while the rest is qp1a.191005.007.a3. Thanks for the link, I will try to keep you all updated.

I found this tutorial, but it needs the firehose programmer file, which I can't find anywhere, not for sailfish (https://www.leakite.com/collection-qualcomm-emmc-programmer-files/) Here's the link, in case anyone needs it: https://www.youtube.com/watch?v=z90cQ1whiSE . If you find it, please reply to this and I'll add it. Good luck!
Part 2:
So I finally found out about "Driver Binaries", files Google provides on their site, although no instructions are provided. I downloaded both of the files for 7.1.0 nde and ran the .sh file. Read the agreement and typed "I AGREE", after which the shell created a folder called vendor. Inside are BoardConfigPartial.mk, device-partial.mk and "proprietary" folder.
From what I searched, these are Makefile extensions to build the actual firmware, and all source code is stored in the proprietary folder found earlier. There seems to be a rampatch .img and a dedicated msm8996_camera.xml, and even more interestingly, another folder called lib64 which contains gps.default.so, libwifi-hal-qcom.so. Lots of files inside but I'm not going to go into details. The purpose of this comment is to let anyone more experienced with compiling and building software from raw code hopefully compile all of this into a single flashable .mbn.

source: Stack Exchange

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

sort: votes


text:
Change Gboard microphone input
[

So when I clicked the microphone button on my Gboard, Pixel 2, it used to come up as pictures 1&2.
Now, this changed today, when I click the microphone, the keyboard goes away, and screenshot #3 is what comes up.
I know that this is extremely similar to Is it possible to trigger Gboard's voice-typing without switching keyboards?.
But I added screenshots to illustrate, and frankly, this issue is irritating me way more than it should, I don't even know why. Probably because it changed poof with no warning, rhyme or reason.

Based on experimenting on my Nexus 5, it looks like you're switching the keyboard to "Google voice typing" instead, a different keyboard app than Gboard. Can you try accessing the system's setting for the virtual keyboard and check if "Goggle voice typing" is enabled?

So if I disable Google voice typing the regular little microphone is gone. And I want to keep my mini-mic.

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


text:
Huawei Mediapad T1 7.0 not Turning On
I have a problem on my Huawei Mediapad T1 7.0.
It's not turning on. I tried "hard reset" and nothing happens. I also tried poking the reset button below, still nothing. I plugged it on charger but it's stuck with the welcome screen. Can anyone tell me how to fix this?

Reinstall the firmware, and boot up with your PC. The firmware you can get on Huawei websites.


text:
Can I install replicant on a Galaxy A10e without bricking it?
I'm trying to UnGoogle my phone for privacy/security reasons, and from one source I heard that if you want to use a smartphone, you're better off getting a Pinephone running GrapheneOS / LineageOS. But the problem is I have a Samsung and there's no way I would be able to install those types of custom ROMs on my device without essentially destroying it. I wonder if you can install replicant.us on a Samsung phone. Any help?

Does this answer your question? Can I install a ROM made for a different device?

If it is not meant for you phone, don't try

Installing a pure open source OS on phones is the dream of many. But unfortunately proprietorship is so deep rooted in software. Particularly in phones world. There aren't many people who practically support Replicant. Ubuntu also miserably failed trying to achieve something similar. Graphene/Lineage aren't fully open source though (vendor HALs are always proprietary), but still much better than ROMs shipped by many OEMs. In fact Google is not the only entity you need to get rid of. Phones in particular are by design meant to have closed source components. There's no way to fully avoid it.


text:
Is there risk of bricking in attempting to install a custom recovery on adevice that has been compromised and has sstem level malware apps on it?
My phone has been compromised and has malware system apps that have persisted after factory reset. I'd like to install a custom recovery so that I can at least get it back to functional if I brick it while rooting and trying to clean house.
But I worry that the bad actor will have altered things enough that if I try to set up a custom recovery to take a system image, it will end up irrecoverably bricked - are there cases of installing custom recovery bricking a phone for good, with and without known malware on the device?

If you are making system modifications there is always a risk to brick the system. Depending on the device and what you do the risk can be serous to negligible. Hence the only answer I can give to you is yes there is a risk. But anyway on a compromised device it really does not matter if you recycle the device directly or accidentally brick it while trying to restore it.

for removal of malware you can install official ROM with official flash tool, no need for custom recovery

@alecxs Not valid when the stock ROM itself contains malware.

@Grimoire true, thx for complement. guess in this case it's most likely xhelper malware which uses mtk-su


text:
Android : Can't access developer option after enable the developer mode
I tried to open developer option but when i tap the menu it said Turn on developer options first so i try to enable developer mode again by taping build number but is reply No need, developer mode has already been enable
I tried to access it by searching option in setting but when i tap any setting it would tell me to enable developer option first.

My device is Galaxy A7 (2017)
Model number SM-A720F/DS
Android 8.0.0

Does this answer your question? Samsung S7 - Developer options not showing after build number pressed 7 times

whats the purpose of the screenshot when you have censored all device info?

Reddy comment works. I go to setting app then press clear data and then redo everything then im able to access developer option now


text:
Ussd change to call
For some reason my phone can't dial any ussd code more than 5 digits. For example: I could dial *888# but can not dial *5050#. When I dial ussd code more than 5 digits and press the call button it will calling to that ussd code. I do some research but I don't find any questions like mine, but sth like make a call but changing to ussd running, opposite of my problem. My phone is LG X4+ ( yes not a popular phone at all ) i hope someone could help me

Can you try with any 3rd-party Phone apps (e.g. Google Phone?

Google phone not supported. I try other dialer on the play store but it seem that when making a call it is still using the same system app


text:
Can an app manipulate the cellular radio chip?
I have a few ideas for a couple local cell to cell apps, but want to use the radio signals to extend the range (the extra work is fine with me).
Just curious if it is possible to control the transmission and receiving of bits. If so, any good docs on it?

Android does not have any direct access to the radio chip. It only uses the Radio Interface Layer (RIL) which sends all commands to the radio subsystem which can be seen as separate OS inside your phone loaded as blob. Manipulation of the radio subsystem is possible with root permissions, just be aware that any changes usually have legal consequences, hence you should only do so while you are sitting a faraday cage preventing any signal to leave the cage.

Interesting, thank you @Robert! Do you by chance know of any diagrams or anything that illustrates that dual OS architecture a little better . . . Purely for educational purposes?

Nothing concrete my approach would be following image search https://www.google.com/search?q=android+ril&tbm=isch

I appreciate it, thanks for the direction @Robert!

Modem/BP runs its own RTOS which is completely isolated from the main OS: Linux kernel and Android, and even bootloaders. Android talks to it roughly like talking to a remote host on network (consider NFS). The protocols used for communication are proprietary in 99% cases with a very small implementation (e.g. to access a shared memory area) in kernel (which has to be open source by law; GPL). Rest of the communication is handled by a vendor provided userspace daemon named RIL, as Robert said. You can reverse engineer it to get protocol details. Usually it's some extension to old AT commands.

@ThatCampbellKid Also be aware of the Android Framework documentation on the Radio Interface Layer


text:
My phone got bricked by encryption - any ideas how to fix it?
So I wanted to root my Redmi Note 5 pro and install a custom ROM but sadly I bricked it in the process. It started when TWRP (3.3.1-0-whyred) told me to enter a password that didn't exist. Googled it, "default_password" didn't work, my MI ID password didn't work and other than that there was NO password used on the whole phone (did a factory reset before I started messing with it).
I just pressed cancel because I thought it was a bug, wiped the phone with "format data" in TWRP and installed Resurrection Remix OS V7 + magisk. Wiped the cache, rebooted, performed the first time setup and everything was dandy... Except for the fact that instead of 64gb of storage I only had 16.
So I tried it again. And again. Didn't work. Then I found multiple people online with the same phone and the same problem who said you should change /data to another file system and then change it back. It was f2s2 so I changed it to ext4, rebooted to recovery, changed it back to f2s2, rebooted to recovery again et voilà, I was back to 64gb of storage. I did the standard TWRP factory reset, installed the ROM again and booted back to the OS. I got to the splash screen but after loading for a few minutes it takes me back to recovery mode. Now I'm stuck.
After installing a FW-less ROM of MIUI 9 (didn't wanna risk using a rom with FW since triggering anti rollback on Xiaomi phones causes hard brick) it says this when I boot it: "Encryption was interrupted and can't be completed. As a result, the data on your phone is no longer accessible". There's a reset phone button that just takes me back to recovery.
I tried three different recovery tools (TWRP, Red Wolf and Orange Fox), wiped everything multiple times, installed RR OS a few times, tried changing the file format of /data to all the different formats and install it again and finally I downloaded a Xiaomi MIUI ROM with FW but that only takes me to the "encryption failed" screen as well.
Sooooo... Time to buy a new phone or can this one be saved?

Check dmesg/logcat using pstore after a failed boot attempt. If it's FDE, formatting /data would have left no space for encryption footer.

@IrfanLatif sorry I'm very new to this, do I need to use the terminal in recovery mode or fastboot on my pc and what exactly should I type? Thanks for your quick answer

of course you can fix this, no need for new phone. magisk may have caused this. after clean install (ROM+FW) disable encryption with no-verity-opt-encrypt before flashing magisk and don't flash Zackptg5's disabler

@alecxs mate I could kiss your face right now, using no-verity-opt-encrypt worked, my phone's back in working order :D

@JeffAl-Même and encryption works after that? I mean when enabled from settings.


text:
How to multiboot 2 Android-X86 distro? (for instance PrimeOS and Bliss OS)
How to multiboot 2 Android-X86 distro?
I tried to make a dual boot with Bliss OS and PrimeOS.
I installed Bliss OS to its dedicated partition on my hard drive.
It was perfectly booting and working.
Then, I installed PrimeOS.
It was perfectly booting, but it changed the GRUB config and made it only possible to boot Prime.
I reinstalled Bliss OS, same thing.
I edited the GRUB config files, as mentioned here: https://unix.stackexchange.com/questions/492587/add-prime-os-android-x86-x64-to-grub-menu/519867?noredirect=1#comment1090351_519867
It seems only one of the occurrence of an Android-X86 ISO is able to boot in a given system.
How to fix the config file to boot several of them?

The way android_x86 treats EFI GRUB config is buggy or misunderstood. No matter what android_installation you choose from grub it will just boot the first found android system on the hard drive (and it seems that device.map that causes the pain).
Anyhow here is a workaround that I did to get stuff working:
I wiped 1 of my laptops for that (MacBook Pro 8,1 320GB hard drive)

Installed Linux (Kubuntu) choosing the whole hard drive as one part + efi
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 298.1G  0 disk
├─sda1   8:1    0   512M  0 part /boot/efi
└─sda2   8:2    0 297.6G  0 part /

Installed PrimeOS choosing sda2 (DO NOT FORMAT),
ignore EFI installation (optional)
Booted into Linux again and renamed primeOS installation folder
sudo mv /android /primeOS

Installed Bliss OS the same way as PrimeOS + choose /system to be rw
Booted into Linux again, renamed Bliss OS installation folder
sudo mv /blissos_x86.xx.xx /blissOS

While still on Linux added both Android installations to GRUB by adding the following lines to /etc/grube.d/40_custom
submenu 'Android' {
    menuentry 'primeOS' --class android  --class android-x86_64 --class gnu-linux --class os {
        set root='hd0,gpt2'
        linux /primeOS/kernel root=/dev/ram0 SERIAL=random logo.showlogo=1 androidboot.selinux=permissive quiet DATA= USB_DATA_PARTITION=1
        initrd /primeOS/initrd.img
    }
    menuentry 'blissOS' --class android  --class android-x86_64 --class gnu-linux --class os {
        set root='hd0,gpt2'
        linux /blissOS/kernel root=/dev/ram0 SERIAL=random logo.showlogo=1 androidboot.selinux=permissive quiet DATA= USB_DATA_PARTITION=1
        initrd /blissOS/initrd.img
    }
}

Updated GRUB on Linux sudo update-grub, and made sure the tail of /boot/grub/grub.conf contains the Android entries
Rebooted and chose one of the Android installations and I meet an error telling me hd0,gpt2 not found bizarre o.O ,  after a bit of googling it says that it happens when running grub-install before generating or coping device.map to /boot/grub!
To fix that I had to go back to /etc/grub.d/40_custom and change hd0 to hd1 in my case

NOTE for small hard drives like mine it's better to use one partition (ext4) shared between Linux and Androids, from all systems you enjoy the full free space.


text:
Samsung Galaxy Tab 2 Stuck in Reboot Loop
I have an old Samsung Galaxy Tab 2 I dug up from many years ago. When I tried to turn it on after charging it fully, it was stuck in a reboot loop. I already tried factory resetting it and clearing the cash, but it hasn't helped. I am trying to flash an new OS using ODIN, but since I haven't been able to turn USB tethering on, I can't connect the tablet to my computer. Is there any way I can turn USB tethering on through the recovery mode, maybe through the ADB? Just to be clear, I can not access the settings before the tablet reboots itself, and I never turned on developer tools.

you don't need cash, tethering, usb-debugging/adb, developer options or recovery mode. just enter download mode and flash with Odin (it's free) https://www.hardreset.info/devices/samsung/samsung-p5110-galaxy-tab-2-101/download-mode

when I enter download mode the tablet doesn't connect to the computer though, on device manager it keeps coming up as an unrecognized device. I downloaded the proper USB drivers off the Samsung website as well, but it didn't seem to help.

if you can't install right drivers then use heimdall for linux

how will that help if the tablet isn't connecting to the pc? I have the drivers, but my computer isn't recognizing the tablet? I'm also on Windows by the way

"it keeps coming up as an unrecognized device" sounds like a recognized connection to me. yes i know you are on windows, that's why i recommend linux. try Xubuntu LTS from bootable usb flash drive (press F11 or F12 before computer starts up for boot menu) https://unetbootin.github.io documentation README,
support,
tutorial or search android.stackexchange.com

it's not a recognized connection, Odin won't detect the device either. I want to know if it is still possible to flash new firmware without turning on USB tethering, since I'm not able to access the settings that would let me turn it on.

but i have other opinion. you can see a coming up (unrecognized) device each time when connecting phone? that is clearly some kind of reaction. and of course Odin won't detect anything without successful installed drivers. nevertheless, installing drivers is a windows thing. no need to install drivers on linux

It is the Galaxy Tab 2 10.1, model number GT-P5113. I'm trying to flash from SIM card if possible now, since my pc still isn't recognizing the device as a Galaxy Tab 2. I understand that it is a reaction, but it doesn't help. I tested my drivers with another Samsung device as well and it worked, so I don't think it is a problem with that either. I think it is either a problem with the cable or the device itself. My question now is how to properly flash from SIM if it is even possible.

indeed for this old device it is possible to boot (oem signed) custom recovery via update sdcard. try philz_touch_6.57.8-p5110-signed.zip and clean up /data/log with Aroma file manager https://android.stackexchange.com/q/215785

from custom recovery it should even possible to install ROM from adb shell, but this requires converting with simg2img (which is a linux tool) https://android.stackexchange.com/q/219853

I'm running into a signature verification failed error when I try to install the zip you gave, I'm not sure if it isn't OEM signed or if there is some other problem, but it's not letting me install the custom recovery, and most resources online say I need one in order to flash anything. Is there anyway to sign the zip or bypass the signature check through stock recovery?

if your usb-connector is broken, you can try to sign zip with test keys. i recommend to mention @osm0sis in proper xda thread (it's not his project but he is still active member and has the knowledge) otherwise it would be easier to flash TWRP from linux

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


text:
Get number of SMS notification
Some services use SMS notifications. Examples would be Amazon and others for 2FA, some banks for TAN services and so on. Today I received an phising attempt via SMS for a bank account. It contained a shortlink (no, I didn't open it). I called the bank to notify them about those attempts and wanted to hand over the number, so they can try to take the account at its origin down. The problem was: I could not retrieve the number.

The device runs on Android v10.
Normally you can look up contact details by clicking on the senders name on top. This does not work for this kind of notifications.
It's not a Flash SMS. It's stored in the inbox permanently.

Note: I know this question sounds basic, but neither me nor other colleagues I ask (who also work in tech), could find out anything about this … not even an approach to take. So I thought to ask at the collective brain of technology: StackExchange.

Some SMS dont have number but only have header names like sms from google
You can google that header name to find source or since you have reported
banks contact ISP they will easily identify who sent you phishing msg to you


text:
Mount CIFS/SMB share to Android 10 as folder?
Im trying to mount cifs share to android 10 rooted phone and i already mount it but i cant see files in folder in other apps only in rooted one. It is possible to do something like that to get  access from all apps to cifs share?

Mount in global namespace. See How to mount NFS on Android with correct permissions? and How to bind mount a folder inside /sdcard with correct permissions? and Why partition gets unmounted automatically after some time?


text:
How to disable automount of /dev/block/mmcblk1p2?
I installed link2sd then formatted my 2nd partition as ext2. Then I used link2sd to create mount script. Now,due to free version i'm unable to link internal data to this partition. So i removed the link2sd app from my device. But the problem is even after uninstalling the app, a unmount command and a restart the /dev/block/mmcblk1p2 is still getting mounted after reboot.
How can I fix this? Where does this auto mount script located ?
Note 1: I tried removing install script located at /data/data/com.buak.link2sd/files. But still the partition is getting mounted automatically.

Remove the init.d script

Can you specify the location of init.d file?

See https://duckduckgo.com/?q=link2sd+init.d+script and https://duckduckgo.com/?q=where+are+android+init.d+scripts+saved. Also see my answers to https://android.stackexchange.com/a/217265/218526 and https://android.stackexchange.com/a/213623/218526

I tried the following: 1.removed link2sd
2. mount -o rw,remount /system
3. edited /system/bin/debuggerd and removed mount related lines
4. reboot... still 2nd partition is mouted at /data/sdext2

/su/su.d/11link2sd or /data/adb/service.d/11link2sd

Thanks. In my case , the script was there in /data/adb/services.d/11link2sd. I moved that file to some place to keep it as backup, unmounted the /data/sdext2 manually and performed a reboot... Now, it's not mounted... thanx @alecxs


text:
COVID-19 contact tracing API stats?
Is there a way to see how many unique contact tracing IDs my phone has registered via BLE?

Nope.
As part of the joint Apple/Google initiative, a great deal of emphasis is placed on the privacy of the data. Authorized Covid-19 Exposure Notification Apps are the only ones that can use the API. Even the Apps themselves have no way of asking such a question.
On Android the Google Play Service is the one sending out identifiers and recording nearby identifiers.
From Architecture section of the documentation:
https://developers.google.com/android/exposure-notifications/exposure-notifications-api
Google Play Services:

Manages daily random keys
Manages Bluetooth broadcast and collection
Identifies whether the user was in close contact with a confirmed case
Presents permission requests to user for scanning/reading beacons and submitting user keys on diagnosis.

The Exposure Notification App submits a set of suspect identifiers (presumably from a secure medical source, i.e. those who have tested positive) into the Google Play Service API and that returns a risk score on that identifier.
You as a user won't know anything beyond what the app will tell you and the app is limited to the data in ExposureSummary/ExposureInformation or ExposureWindow as found in the Exposure Notification API data structure documentation. Wether all of the detail in available in exposure datasets is presented to the user is determined by the App authors presumably in conjunction with local health authorities.


text:
Can I access both cameras, wide and normal at the same time?
Some smartphones have two cameras, working together as one implementing different parts of the zoom range.
Is it possible to use both of them at the same time?
With both at the same time, I do not necessarily mean reading the frames at the same time synchronously, reading both with 30 Hz from different threads would be great.
A problem could be if a camera needs to be initialized somehow, and only one can be in the active state at a time.

Seems possible on some Samsung phones if you are into developing

While we might answer the technical side from the end-users perspective, take note that app development is off-topic since Android Enthusiasts focuses on end-users or power-users (but not necessarily developers) solving their issues.


text:
How do we know when an android version is going phase out and not maintain anymore in the near future?
From the security bulletin I can know that which version of Android is not being supported by Android anymore.
For example I can tell that Android version 7.1.1 and 7.2.1 are not being supported around 4th Nov 2019, by referring to the 4th Nov 2019 bulletin.

Questions:
1) Are there any ways to get the precise dates when Android 7.1.1 or 7.2.1 are deprecated?
2) Or are there any official announcement to get the date for Android 8.0 or 8.1 being deprecated beforehand? So we can plan accordingly to stop supporting that version for security reasons.
3) In wikipedia, old versions means it's unmaintained. But how to get this information from the official docs?

The Android version is not being phased out, nearly 20% of users are on 7.x and they work, so do apps, including newly released apps that must work with 5.x (min sdk level) //Only security patches aren't provided any more for 7.x as you highlighted

isn't a version always deprecated with each new version? imho the precise date is date of new release

@beeshyams: Only security patches aren't provided any more - that is IMHO the common definition of a phased out OS. Just compare it with Windows XP which support has officially been dropped. That app developers still support older Android levels is something that is independent of the OS itself.

@Robert My take is different (without comparing with desktop OS, which is not an even comparison) - if newly released apps can't run on that then it is phased out (for now below 5.x). That's the time smartphone becomes a basic phone. Aside, I am not aware, if there is, a standard definition of what is phased out. One could argue that all earlier versions are phased out when a new version is released. I think what constitutes phased out is a good question to be asked and answered


text:
Filtering/hiding all SMS based on recipient number
I'm looking for a possibility to hide all SMS sent to a certain number in a dual sim environment. I have number A and number B and I would like to see only SMS for number B, num


text:
Resistor like symbol android

For a couple of days, this weird symbol that looks like a variable resistor has been showing on my android one (Moto one power) device.
What is that supposed to be? How do I get rid of it
I've played around with the volume/vibrate, every developer options, along with disabling the developer options altogether.
Thanks

I found out what the issue was. Leaving it out here if someone else encounters this as well. This icon essentially means 'Sensors off'. The symbol was the reason my camera was not working as well.
Inside the developer options, under quick developer tiles, there is a 'Sensors off' option.
Not sure why disabling the developer options did not revert back the change though.

Disabling the developer menu does not affect the settings you have made, it just hides the menu. The only thing that might get deactivated by hiding the menu is the Android Debug Bridge (adb) connection.

Ah that makes sense. I thought that all the developer changes get undone, because the accent color that I sent in the developer settings reverted back to default on disabling the developer option.


text:
Where is the file location for samsung notes/memos and/or can I recover these files if I deleted the app?
I backed up all the files on my S9+ because I wanted to reinstall my buggy samsung notes app, but it turns out notes doesn't fall under documents anymore and it has its own separate sync that needs to be toggled from a default off. I've tried using different recovery software but they're either shady or don't work. I'm open to trying to root the device but I wanted to see if anyone knew where in the Android the notes or memos files are located and if it is still possible to recover them. I had pretty important stuff in the notes which is why I'm so concerned. Thanks in advance

Did you create a (different than Google) Samsung account? Also did you password/fingerprint protect your notes?

you can't recover, it's lost


text:
Optimizing app 1 of 1 on Android starting after GooglePlay update
I have a Lenovo Tab3 8 Tablet that had been working fine until about five-six months ago.
Then I got this Optimizing app 1 of 1 message one day, when I had to restart the tablet, which basically made the device useless.
I have been trying to fix it ever since, but every time I do the emmc factory reset from the boot menu it lasts only until the next reboot.
That is, however, only when I update the device over GooglePlay before rebooting. If I reboot without updating, it doesn't show the Optimizing app message, and I can log in my profile, but then the first time I have to use GooglePlay to add a new app or autoupdate the system, the same issue reappears and I have to do the reset all over again.
This seems to be due to some faulty GooglePlay update routine involving preinstalled apps.
It's extremely frustrating.
Anybody with the same problem on this device, or similar model/OS version?
Anything is welcome!
Here's all the system info I managed to get from the sys menu of the tablet:
Model number: Lenovo TB3-850M
Android version: 6.0
Kernel version: 3.18.19
Build number: TB3-850M_S100036_171214_ROW
Software version: TB3-850M_160509

As you don't have much to loose I would try to unlock the bootloader, install TWRP and try a custom ROM for TB3-850M. It is quite some work but at least there is a chance to use the tablet again for some years.

Well, indeed, why should it be simple, when it can be difficult...?
Anyways, thanks a bunch, @Robert!
I'll leave the thread open for some time to give your tip a few tries, and then I'll feed back again.


text:
Bluestacks using about 30GB
I have installed Bluestacks 4 android emulator on my 64bit Windows PC. I have not installed many apps but in the data folder it is using about 29GB of data. In the folder Program Data/Bluestacks/Engine/Android, I can see Data.vdi and Data_0.vdi, The second one is 27.4GB and fomer is few 100 MBs. My question is what could be the reason for such large file size? Is there a way to clear unnecessary data from bluestacks?

BlueStacks is a virtual machine using image files that contain the whole "persistent memory" that is available to the virtual Android device.
Such virtual image files can be created in two ways:

When creating the virtual machine you can decide of much memory (persistent not RAM) you assign to that virtual machine. And to make this space available an image file is created of the chosen size. The file internally is then formatted as needed by the virtual machine and contains a lot of free space, but this free space is only visible inside the virtual machine. From the outside from the beginning on the full virtual disk size is allocated in form of a file

To avoid allocating a full virtual disk size some virtual machines allow to allocate space on demand. This means that if the virtual machine writes data to a sector of it's virtual disk the will be appended to the virtual disk image the first time it is written to. The main problem is that the BlueStacks is not aware which sector has been written before or not, hence if you write and delete files inside BlueStacks other sectors may be written and so the image file is growing larger the more often you use BlueStacks.

VirtualBox contains command-line tools that allows to compress images that have grown too large but don't contain much data. But that is no longer an Android topic. Search Superuser.com for how to trim/compress VirtualBox images.


text:
Android File Transfer shows folder ans then pops up the can't access device storage message
android file transfer was working fine until today.
Usb debugging is on.
File transfer is selected on the usb connection.
I am able to see the folders and files but the message pops up and it is not letting me access them and it also works with another androis plugged in to the same mac, it just doesn,t work with my android.
I dont have samsung kies nor samsung smart.
What can i do?

reboot your phone and try again. The files/folders seen via USB connection don't come from the file-system but from the MediaService database. Sometimes this service crash or presents outdated data.

I tried rebooting several times, android file transfer opens up but immediately popa up the can't access device storage message. I meant that the window where all the folder shows comes up but it wont let me do anything since the message pops up and if i click ok, everything closes. In other hand i tried it with a dofferent android phone and it works fine.

maybe physical problem with connector? try mkdir sdcard; adb pull -a /sdcard sdcard

I had to wipe out all data in the cellphone and its working now


text:
How to avoid "The file format is not supported." when sending problematic JPGs from WhatsApp upon selection from gallery?
Device description:

Hardware: LenovoPad YOGA Table 2-1050L
Operating System: Android 5.0.1
Application: WhatsApp both 2.20.189 and 2.20.193.10 (newest from web, unavailable through google play)

Problematic, fine JPGs and exif:

problematic1.jpg
problematic2.jpg
fine1.jpg
fine2.jpg
directory with photos and '"exiftool(-k).exe" -a -u -g1 -w txt' output

Reproduction steps:

On WhatsApp chat screen - Add Attachment
On Attachment source selection - Gallery
In Gallery - select specific problematic JPG
Gallery redirects to "Add a caption" screen which redirects back to Gallery/Chat (depending on Gallery) after few seconds (<3 s).
Some galleries show "The file format is not supported." in a Toast UI Element after redirection.

Taken steps to mitigate:

reinstall android from 4.x.x to 5.0.1
reinstall WhatsApp, clear data & cache, restore backup
upgrade to newest WhatsApp version not yet made available through Google Play from offial site
sending from sharing options of different galleries fails after selecting recipient in WhatsApp on Step 4)

Observations:

sending as a Document (Step 2. - Document) works
sending from Samsung Galaxy S5, Android 6.0.1, WhatsApp 2.20.189 to mentioned device works
sending, resolution scaled down to >78% fails BUT to <=78% works WHILE taking a photo with much higher resolution and sending it works
sending, with minor change from built in gallery editor (which also scales down resolution), works
sending different JPG taken in a same day with the same camera with higher resolution works
sending photo taken by camera works
sending from external/internal storage fails

Example solution:

process affected JPGs in a batch processing software with minimal impact on quality (do not want to scale down to <=78%)
software fix

Please help. My next step would be attaching debugger or scaling down every photo >_<.


text:
Blackberry Q10 to Samsung Galaxy S6
Want to get my contacts from Blackberry Q10 to Samsung Galaxy S6.
Tried MobileTrans, Dr. Fone (neither support Blackberry anymore) and even tried to use Samsung Switch software.  Neither worked.  What can I do ?  I just want to import the contacts over ..

I think you have two options:
1: Transfer to a Google Account login to a Google account on your Blackberry and go to the contacts app > gear icon > General > Contacts Management > Copy Contacts and you will be able to copy them straight to the Google account. Then login on your Galaxy S6 and enable contacts sync.
2: Export as a vCard or .vcf file contacts app > gear icon > General > Contacts Management > Import/export and select an option. Then transfer the file from your Blackberry to your S6, and go into the contacts app and click import.
If in option one, for whatever reason you are not able to login to a Google account and transfer the contacts, you can export them as a vCard or .vcf, and import them into Google contacts on your PC directly.

Thanks, I got it somehow to copy to my SIM card - but then it didnt copy everything so I had to add some manually.  Just strange - but it got like 80% of them.  Then new phone detected them off SIM card.


text:
How to insert an emoji using adb shell input?
I've been trying to insert emojis into my android phone using ADB.
adb shell input text "..."
works for inserting text, but when I tried to insert an emoji using the unicode(\uD83E\uDD70), I am only getting the raw text inserted. Is there a way to achieve this ?

Seems like this is not possible with plain adb. But with the help of an app that acts as virtual keyboard: https://stackoverflow.com/a/23482717/150978


text:
Fastboot recovery flash FAILED (Status read failed (Too many open files in system))
I'm trying to flash a magisk-patched boot image onto a device with an unlocked bootloader (but without a custom recovery).
I've patched the boot image without issue, but when I go to flash, this happens:
fastboot flash boot magisk_patched.img
Sending 'boot' (19648 KB)                          OKAY [  0.560s]
Writing 'boot'                                     FAILED (Status read failed (Too many open files in system))
fastboot: error: Command failed

Anyone have an idea what might be wrong?

try from windows 7 with latest platform-tools


text:
Bootloader is unlocked, fastboot returns "FAILED remote: Not allowed to flash" when trying flash .img
I am trying to root my Google Pixel 3a with Android 10. The bootloader is unlocked. It says so in the dev settings, and I have to go through the warning prompt every time I reboot my device.
I am following these instructions for rooting it(using method 2). When I run the fastboot command to flash the patched .img file, it returns:
C:\Users\MyPC\Android>fastboot flash boot_2 magisk_patched.img
target reported max download size of 268435456 bytes
sending 'boot_2' (30392 KB)...
OKAY [  0.798s]
writing 'boot_2'...
FAILED (remote: Not allowed to flash (boot_2))
finished. total time: 0.861s

I tried without the "_2" which also does not work. I used fastboot getvar current-slot to determine which partition is correct.
Things I've tried to troubleshoot:

Running cmd as Administrator (im using win10)
Confirmed OEM unlocking is turned on in the dev settings (it is, it
says "bootloader is already unlocked"
Confirmed USB debugging is on
Disabled "Verify apps over USB" and "Verify bytecode of debuggable
apps" in the dev settings.
Confirmed file transfer is enabled from my PC and my Phone (it is, I
can transfer files back and forth between them)
Tried a different USB cable

Having "OEM Unlocking" turned on does not unlock the bootloader, it gives you the ability to unlock the bootloader and it doesn't appear you have actually unlocked it... On the fastboot/bootloader screen, does it show Device State as Locked (in green) or Unlocked (in red) or perform a "fastboot oem dmesg" and it will either output information (unlocked) or state "not allowed when device is locked". If you unlocked, you have entered "fastboot flashing unlock" and had to accept a very "nasty" warning, as well as a factory default. You know when you are unlocked...

slot is usually a letter (not a number) like boot_a. try unlock_critical also make sure AVB isn't a showstopper (vbmeta)

@acejavelin On the bootloader screen it says Unlocked (in red). I brought up the OEM unlocking for extra clarification. I ran "fastboot oem dmesg" and it output information. I do know that I'm unlocked, which makes it more confusing why im getting a "not allowed to flash" error

@alecxs Yep, that was the problem. Thank you


text:
How to find out if note 10 lite is fake?
If I'm going to buy used note 10 lite, what's the way to check is original and not fake?

boot into download mode and find the model number

Thank you. Is there an official site where I can put this model number or serial number and find out if it's original?

Does this answer your question? Samsung Galaxy Note 3 SM-N9006: Chinese knockoff/clone or genuine phone?

Does this answer your question? Galaxy S7 - How can i check which CPU chipset do i have?

afaik the download mode screen can't be faked, if you see model number on this screen you can trust it is real model number. search for this model on gsmarena.com. on the other hand, if this device has fastboot mode then it is clearly Mediatek chipset (Samsung don't have fastboot mode) enter download/fastboot mode with Vol-Down (+ Home) + Power


text:
What are .xlog files and what can they be used for?
Im cleaning the storage on my S10+ and I noticed in the WeChat folder (Tencent) there are a bunch of .xlog files totalling nearly 3gb of space.
I know the controversies of using WeChat but I rarely use the app and yet it uses more storage than Whatsapp.
On a sidenote this 3gb is not part of cache memory or storage for the app itself which is (700mb). After deleting the app data and reinstalling the app and not signing in but not using the app it jumps back up to 700 mb. 450mb for the app itself and 250 for data. There shouldn't be any substantial data from doing nothing. This is compared to Whatsapp which only uses 700mb total and I use it daily and have multiple chats saved and media as well.
Thanks for your help!

This has some explanation https://forums.oneplus.com/threads/xlog-files.1031116/

Hey thanks for the reply. I saw that thread while researching but it is the only only one that mentions .xlog files and im trying to find more info on that file format and what it could be used for. It doesnt seem to be a widespread issue.


text:
WiFi ad-hoc mesh network made of 10 Android smartphones
re.:
WiFi ad-hoc mesh network made of 10 Android smartphones
I have a number of wifi, GPS,  accelerometer enabled smartphones (Android 5.) and would like to build ad-hoc mesh network.
I read:
https://www.bing.com/search?q=wifi+ad-hoc+mesh+network&form=QBLH&sp=-1&pq=wifi+ad-hoc+mesh+network&sc=0-24&qs=n&sk=&cvid=0E5462D3C6E34B53BCF69993119AC7F7
https://en.wikipedia.org/wiki/Wireless_mesh_network
related question:
Windows adhoc mesh network
https://stackoverflow.com/questions/13129382/windows-adhoc-mesh-network
I plan to start from static topology, close proximity, supporting every peer can communicate with other peer node, to study redundancy, reliability and to visualize traffic in the form of the graph ( vide traffic in car navigation).
I would like to study how much time and bandwidth is spent on updating routes vs. delivering data.
If successful I plan to study dynamic topology, implementing GPS geolocation and visualization of the wifi nodes in Google Maps, wifi traffic supported and visualized.
Once implemented I plan to add solar charger to every wifi, GPS enabled smartphone, since charging 10 smartphones in outdoor is not easy for a number of different geolocation.
Ok, I am aware, ad-hoc mesh network is not hot today but what is hot, GPS-enabled smartphone can be today purchased at pocket money, making the project feasible.
At the same time I would like to read about wifi ad-hoc mesh metwork projects, made of 10+ ... 100+ smartphones, since large numbers of smartphones are readily available among operators
Ok, I need to test first which wifi adopter modes are supported.
Building such network is my old dream, so I appreciate your suggestions and comments.
My personal budget is limited but I can offer bounty since I can buy more smartphones of the same make and model ( Android 5.) to make software installation, configuration more friendly.
related questions:
ad hoc network in android
Why can't my device see an ad-hoc WiFi network?
Connect Android device as wifi adapter to a PC to create an ad-hoc network
Connect android phones through adhoc wifi network
Does any version of Android support ad-hoc connections?

just read
https://android.stackexchange.com/tags/ad-hoc-networks/info
as advised

https://chat.stackexchange.com/search?q=ad-hoc+mesh+network&user=&room=
could you explain entries generated by search results for
"wifi ad-hoc mesh network" ?


text:
USB not working in Lineage OS 15
Nexus 7 2012 (grouper).
Was running stock ROM (4.4.4), could connect via USB (e.g., as MTP for file transfer) and use adb).
Installed Lineage OS 15 (8/O). (Couldn't install any GApps at all because the system partition is too small.)
fastboot works as it should when booted into the bootloader.
abd works when it's booted into recover.
However, adb does not work when the tablet is started up and running LineageOS.
Nor does it appear as a disc drive.
In fact it doesn't even appear in Device Manager.
Windows doesn't make its noise when the device is plugged in (it does make its noise when connecting it in the bootloader and in recovery).
Developer options enabled:

Android debugging is on,
Root access is ADB only,
Select USB Configuration is MTP.

It has to be something to do with LineageOS.
Any ideas?

Just to make sure, (re)install Google USB Driver? The GApps shouldn't be the issue though.

AndroidStudio says version 12 already installed.Removed and installed again and no change.

I have same problem when I install Lineage 14 try tablet on another fresh windows pc that this tablet never connected before if tablet worked in MTP. Then try this steps:

Go to Windows Device Manager
Check View hidden devices from view
Find installed drivers from tablet and uninstall them all.

This is demonstration gif:

Just installed Lineage 14 (N/7) and it's working normally, so it must be a problem with LineageOS 15 (lineage-15.1-20200522-UNOFFICIAL-grouper.zip to be precise).

Why voted down?


text:
Call someone automatically after receiving an app notification
I'm fairly new to android, I just want to know if it is possible to implement a feature on an app that when you would receive a push notification it will call a specific number or send a sms.
Ive been searching through this site and what I found most similar to this it involves clicking on the notification so that it makes the call afterwards but not right away automatically as soon as you receive notification.
So the objective would be something like this: a cellphone or tablet is awaiting for a push notification from an app at night when it  receives push notification it sends a sms or call to another cellphone which could be mine or someone else, is ti something doable that call intents can do this automatically without you having to interact with the device that will receive the push notification?

Possible by [tag:automation]. Try with MacroDroid. Set up a macro like this, test and revert

To understand how MacroDroid works , see  answer here

Hi and welcome, note that app development is off-topic since Android Enthusiasts focuses on end-users or power-users (but not necessarily developers) solving their issues, so we will only provide solution from end-users' point of view, e.g. using automation apps or specialized 3rd-party apps.

Did you try automation?


text:
APN Settings: What Does Each Setting Do?
An Access Point Name, APN, is a gateway between mobile networks and the public Internet.
I've done research, and there's not much online about what the individual settings are or do.
This is what I've managed to figure out so far, listed in the order they appear on an Android phone.
Settings in bold I do not have a good answer for. Please tell me the setting's "full name" and what it does. If you know of a site that lists these out and describes them please share it. Thank you!

Name: User given label that doesn't actually affect anything. It can be anything.
APN: Stands for Access Point Name I guess? Usually, this is a short single word and ALL CAPS for some reason. No idea what this does.
Proxy: Is this for using a regular proxy server or something mobile specific?
Port: Port for the proxy? 80 by default?
Username: Credentials to use the carrier.
Password: Credentials to use the carrier.
Server: Found out this is for a WAP Gateway Server - kind of like a proxy except that it also translates/decodes web pages.
MMSC: A URL to send MMS messages to? What does MMSC stand for?
MMS proxy: Why does there need to be a proxy? Why not just send it to the MMSC directly?
MMS port: Why is this here, won't it always be 80?
MCC: Mobile Country Code - I believe this specifies to the cell phone towers which network to default to. Why would they need to know this?
MNC: Mobile Network Code - tells the towers what carrier is being used?
Authentication type: Port to send the Username & Password over?
APN type: So instead of IP port numbers mobile networks use "port names" to specify the data type. So if you put "default,mms" then those communication protocols will be used. Correct me if I'm wrong, please.
APN protocol: Whether to use IPv4 or IPv6.
APN roaming protocol: Roaming is using another carrier company's service. This specifies what IP type to use when doing so.
APN enable/disable: For when multiple APN's are on the phone. Allows one to pick a certain configuration.
Bearer: What does this do?
MVNO type: Mobile Virtual Network Operator - a reseller carrier that uses one of the larger (AT&T, Sprint, T-Mobile) carriers. This option can be either None, SPN, IMSI, GID, or ICCID. Tells the major carrier what the reseller is I think.
MVNO value: The number given to the reseller?

Interesting question but I don't think it's explicitly about Android. May be https://networkengineering.stackexchange.com is a more appropriate place for this.

First post, I'll look into how to move it. Thank you!

Found this as part of a search that lead me here:
Name (APN)
A user-chosen name to apply to this APN configuration. This name has no effect at all on the connection, and is only used as a label.
APN
Specifies the Access Point Name (APN) your device should quote when communicating with your carrier. The APN is a short string of text.
Proxy / Port
Optional fields for specifying an HTTP proxy to use for all web traffic over this connection. No longer usually required for most carriers.
Username / Password
In rare cases your carrier may require a username and password in order to access data. Usually left blank.
Server
WAP Gateway Server, a feature not usually used in modern smartphones and devices. This field should usually be left blank.
MMSC
Details of the Multimedia Messaging Service Center to use for sending and receiving of MMS messages.
MMS proxy / MMS port
HTTP proxy details to be used only for communicating with the MMSC to send and receive MMS messages.
MMS Protocol
Specifies the protocol that your device should use for sending and receiving MMS messages. Usually does not need to be modified.
MCC / MNC
Specifies the carrier network that the APN configuration should be used for. Stands for Mobile Country Code and Mobile Network Code.
Authentication type
Method used to supply your name and password to the server for your data connection. Usually not used.
APN type
Specifies which types of data communication should use this APN configuration. Different types of communication may use different configurations.
APN protocol / APN roaming protocol
For devices that support IPv6 networking, this specifies whether to enable IPv4, IPv6 or both. This can be set independently for home and roaming networks.
APN enable/disable
When having multiple general purpose APN configurations, allows you to choose which one is currently enabled.
Bearer
An optional field allowing you to exclude this APN configuration based on the communication technology (eg LTE, eHRPD) currently being used.
Mobile virtual network operator type / value
Restrict use of this APN to certain MVNOs (mobile network resellers) or subscriber accounts.
Mobile virtual network operator type / value
Restrict use of this APN to certain MVNOs (mobile network resellers) or subscriber accounts.

Most of the major configuration is hard programmed into the sim. The only difference apn info makes I'd for reseller ultility that least thier service from another utility and thus have special apn settings for the tower.


text:
How to stream an image into camera source trough ADB?
I am trying to stream an image into the camera source of an Android 10 device through adb.
This should effect on all apps that use the camera source and not only using specific camera apps.
Thank you!

Does this answer your question? Use image file as camera

@Robert unfortunately not. The image should be streamed in the camera source itself, thus affecting the low-level device IO.Thanks for the input.

Most likely what you want is only possible with root permissions and system modification. The only rootless solution I see is using an external USB device that claims to be an USB webcam and allows you to upload the image it later sends back to Android as live image. Not sure if such a device already exists.

I have full control over the device: in fact, it's just a solution for my own device and not a distributed implementation. May I get more insights on how to achieve this, given that I have full control over android?

I don't know what concrete steps have to be performed, but my starting point would be to implement a custom CameraDevice layer and then install it on the device replacing the existing CameraDevice implementation. May be the source code of the Android emulator and it's way to provide the camera data to the emulator is helpful to understand how an external image can be injected into the device.

@Robert thank you for this. It seems very complicated, actually - I was trying to replicate something like what emulators do when you try to use the camera: they let you upload a video, an image or use an USB-Camera connected to the PC. In my case I am not using any emulator (using a phone is mandatory), but if the only solution is such a "low level workaround", then I might have to stick with it - unless I'm missing something.

If you want to supply static images to one app only on a rooted device I would give Frida a try. It allows to manipulate the app at run-time. Still a bit of work but I assume it would be achievable with much less work.


text:
Fitness health/apps: Export personal data from phone (i.e Dafit)
Many apps used by smartbands/watches have no option to export your personal data, so you can't process/visualize, store, or migrate to other app.
Also I know that some fitness apps for android apps allow the data export to external files as excel, such as Withings healthmate can sync data with its "cloud/server" and from their webpage you can export data to excel.
For Dafit and other fitness apps with export/import :
Do you know apps/options/methods to extract its data?
Do you know  apps to process/convert data from different apps ?
/convert this

Though i haven't found specific apps I found method for "powerusers".
Dafit stores its information in plain text inside a SQlite database files, there are several tables with apparently no relationship (maybe from code there are few relations).
How to extract/process the data:

Extract data file from Android

Option1. Find the data folder (from android), copy&paste to accessible folder ¿root req?
Option2. Do a backup (titanium backup, oandbackup,...) and unzip the content of backup to a folder

Open file with a SQLlite tool
Export to spreadsheet/excel tables and process/transform there
Process/transform using SQL queries.

I got the file, but it does not seem to be a database file at all. The first 16 bytes are
00 00 00 18 00 00 00 00 followed by eight FF.


text:
Asus Zenfone 3 Max - ZC520TL - Cant boot anymore - Only fastboot
I have a Asus Zenfone 3 Max, ZC520TL, MT6737M WWW_phone X008_1, 7.0/NRD 90M 14.10.1808.119-2018
I wanted to install lineage on my phone without rooting it (I want to be able to use banking app), I took a look on internet on how to do it and the first step was unloacking the bootloader and then installing twrp
With the apk on the asus website, I unlocked the bootloader, then I rebooted to it in fastboot mode
I tried to install twrp from different sources I could find on internet (my phone is not officially supported by TWRP) with "fastboot flash recovery IMAGE.img"
None of these images worked
I did few tries with these commands (in this order) :
fastboot erase cache
fastboot flash boot recovery.img
fastboot erase recovery

And then the problems began...
I can't access the recovery mode, it displays in the background the asus logo and then reboot;
I can't access the normal boot, it's looping;
I only have access to the fastboot mode
So from now, I wanted to make my phone works again, I tried to flash both in boot and recovery partitions the boot.img extracted from the official rom available on the asus website
Tried to reinstall the unsuccesful TWRP img I already downloaded
And my phone doesn't support "fastboot boot IMAGE.img"
Does anyone have an idea on how to make it works?
Thank you

fastboot erase will erase partitions, that makes device unbootable (besides your other mistakes and dm-verity) stock recovery.img should flashed to recovery partition, stock boot.img must flashed to boot partition, and fastboot format:ext4 cache will create new cache partition

I did the cache format, however I successfully wrote the boot.img but nothing better

https://forum.xda-developers.com/android/general/recovery-twrp-3-1-1-asus-zenfon-3-max-t3650670

there are different MT6737T and MT6737M

I went through this page, the problem is I am on Linux, and the 3 TWRP images they gave are written successfully but do not work

How can I know which MT6737M I am using?
Is there a version to select for no-verity-opt-encrypt.zip?

I flashed the boot.img of the correct version, after checking it I was using the 15.10 instead of 14.10, so now it boot correctly to install the os but still no recovery, how can I get it?

version of no-verity-opt-encrypt doesn't matter. are you sure twrp is not working? sounds more like TWRP is replaced with stock recovery on each boot. check your hardware matches the TWRP build. get device info with this app https://play.google.com/store/apps/details?id=ru.andr7e.deviceinfohw


text:
Android doesn't ask USB usage when connecting to Windows, works on Linux
Just out of the blue, my phone suddenly stopped asking permission to access storage. It worked yesterday. When I connect the phone with the same cable to Linux PC it works but Windows keeps telling USB device not recognized and I don't get a popup in Android asking for USB permission. There is also nothing in the notifications on Android.
I tried to disable always ask but it still won't show up. How can I make my phone always answering as a mass storage?

If it works with Linux and does not work with Windows, then the cause is most likely not on Android side. Check the Windows device manager if the Android MTP device is recognized at all and without exclamation mark.

It says "unknown device, try reconnecting the device if windows still doesn't recognize replace the device"....

Try uninstall USB drivers, re-install, reboot windows with device disconnected - usually this seems to help

I never installed any USB drivers..?

You haven't mentioned the device model, but Windows usually need OEM USB drivers to recognize the device. Further reading: https://developer.android.com/studio/run/oem-usb


text:
App is obscuring a permission request settings can't verify your response, can't turn off Overlay
I need to use DroidCam in my phone and PC, it's an app that lets you use your phone cam as a webcam in your PC. Other programs don't work. Since my internet connection is really slow I have to use it via USB. Since my phone screen is mostly not responsive I have installed a pointer type overlay that "draw over other apps".
Because I have that app running, when I try to run DroidCam, it gives me the error message: "Because an app is obscuring a permissions request, Settings cannot verify your response".
But I can't disable my overlay, my mouse pointer, because then I wouldn't be able to use my phone or run that app.
Anyone comes up with a solution?

If you have connected your phone via USB and have ADB enabled you can control the phone using scrcpy

Thank you. This will help me out a lot. Please keep the solutions coming.

In your device's app settings, there should be a Permissions section.  Can you toggle the permission manually and then start the app?

Can't Matt because the screen is unresponsive, but thanks for the tip.

Community bump prevention: this question was closed because the question seems to have been abandoned (the OP hasn't visited Stack Exchange for more than 2 years and there's no comment/vote on existing answers). If anyone can evaluate the existing answers, feel free to vote accordingly and reopen the question (or mod-flag the question requesting for reopening). For anyone else having the same issue, please post a new question and refer to this question as additional context.

I tried all the straightforward options like turning off the ability for other apps to override, but none worked. Finally got around the problem by using the super power saving feature on my tablet that shut off all apps other than those selected. I selected the app I was trying to get the permissions to work for to be the only app running. Opened it, and was finally allowed to enable it without getting this message. Turned off the power saving mode so all other apps were available again, and my new app now seems to be working fine. Would love to know what app was causing the issue but just glad to have it solved.


text:
How to log the source of a freeze?
Since some time my Samsung Galaxy 9+ sometimes freezes.
I have the impression that this is somehow related to Chome but I am not sure (maybe it is just because I spend there more time than on other apps and statistically am on it when the freeze happens)
This is a total freeze for ~10 seconds, then everything works again. The screen is on, the phone is just not reactive.
Would there be a way to monitor the phone and pin point the app which makes the phone freeze? (due to overuse of some resources)

Try to run this app and see which are the top two or three processes running at the time of freeze

Related to the app recommended https://android.stackexchange.com/a/160408/131553


text:
Why does my phone burn out USB cables when plugging them into my car?
I have an Oppo A73 phone, and over the last week it has started burning out USB cables (puff of smoke, cable no longer charges) when plugging it into my car (2015 Suburu Outback).
It had never done this previously, but I've lost 3 cables to it now. If the phone is plugged in before I turn on the car, it's fine, but if there's power in the cable when plugging it in... zap!
I'm assuming it's short circuiting against the phone's jack, but I don't know how to stop it happening. How do I stop it doing this? (And if you can suggest why it has suddenly started, that would be awesome too).

My wife's phone works just fine in the same car :(

Then it's best taken to a service center to fix. One can only guess why like you did

be prepared to lose your data

try keeping a lower voltage charging adapter and be careful, if the phone is creating smoke then there are chances that it may melt the steel charging pin


text:
Is it possible to image android phone and run on emulator?
I have an LG phone with faulty screen that I am not interested in fixing, but I am interested in an installed app.
I am looking for a way to convert it to an image and run it on my PC, is that possible?
Searching online just shows me results for how to transfer images from my phone to my PC :D

Hope you're doing well.
You said you're interested in an application, well let me try and clear it up, but if you just want to use an application, you're better off with running it fresh on an emulator, and that way you will not have to worry about your broken phone, but if it is the app data you're interested in then I'd suggest you'd take a backup of your phone, that will basically be an image of your broken phone, using adb tools and then restore it onto an emulator. But you will have to look it up as to how you want to flash adb tools onto your phone without a display(assuming your display is completely dead).
Otherwise, your topic seems a little too broad


text:
How do I run an Android app on an iPhone?
Based on my 30-60 minutes doing research on Google it seems there is no general solution for my question, but I wanted to double check on my favorite Q&A forum network, SE.
So, how can I run an Android app on an iPhone?

Generally, you cannot run Android apps on an iPhone.
Based on my 30-60 minutes doing research on Google it seems there is no general solution.

This Android.SE post
This Quora question

However, some apps can be emulated on an iOS environment.

Cydia is an emulator option for jailbroken iPhones, as mentioned in the Quora post cited above
iOSEmus is an emulator option without the need of jailbreaking iPhones. By the way, I recommend these installation instructions.

I welcome anyone who has more general solutions.


text:
How can MIUI read my previous MI Account ID and phone number on clean install?
I unlocked my bootloader, flashed some custom ROM and the ROM is working fine for several months.  Today I decided to return to the stock MIUI global ROM.  After finished flashing new images using fastboot, I'm quite surprised when the phone asked me to login to Mi Account.  It remembers the account id and my previous phone number correctly.  This is when I'm not connected to Internet.  I also have flashed TWRP  cleared user's data many times before.
I would like to know where is this information stored?  Is it on /persist partition?  Or, perhaps in Trusty OS?  Is it possible to see what are stored there (apart from account id and phone number)?

It's called Factory Reset Protection. Different vendors save the information to different partitions e.g. CONFIG, FRP, PDB. A factory reset performed from Settings erases this partition.

For Mi 8 Lite, it is stored in /persist/fdsd/st. This file contains JSON structure with extra_email and extra_phone that matches what is displayed in the screen.  Also, after deleting this file, the initial setup step that asks for account activation is not displayed anymore.


text:
Catch USSD Codes
I need some help to figure out a way to catch which USSD codes are executing in my phone. This is for a little project I'm working on, to simplify an app that my cell carrier provides, but I don't have any idea of what codes are executing some times, couse there are not documentation about it. I'm expecting something like a sniffer or similar, but I'm open to suggestions. My handset is a Xiaomi Redmi Note 5, just in case somebody knows a way to achieve what I'm looking for doing a trick in system settings or something hidden in the OS.

Notification history logs USSD. Try that

Sorry but this is not the behavior I was looking for. I don't need the USSD message itselft, but the code executed to get this message, i.e. if the app executes *1234# and I get the answer "Hello user", I want to know that the code used was  *1234#, not the message returned


text:
Is it possible for an android app from play store to be customised for particular users?
Is it possible to customize a popular app downloaded from google play store for a user? Of late I have seen a few apps being weirdly customized in my android phone. Not sure if it is a form of hacking, or my phone has been compromised. Any thoughts that would help me diagnose would help.

What form of "customization" are you talking about?

They added another user in the settings

It's possible to customize apps on a broad case based on some factors, like language/locale, Android version, etc., but not directly per user. Probably would help if you can mention some of the apps (and their link to Play Store if possible)

In the google play app preferences, it was showing a different country and user name some time back until I corrected it

Do you mean another Android user (multi-user Android system) or another account in the account list you can view via settings menu? If it is the latter this is nothing special every app can add accounts and if it uses oAuth authentication via Google or Facebook and you allow it some of your data will be accessible to the app. But that is not a customization, this is simply a login like on a web page.

If you go to the Google play app settings you will see that It has your name, email id and country code. In that section it was showing the name, email id and country code of another user.


text:
How to remotely control Windows PC with Android?
Is there a way to remotely access my Windows PC with Android Phone and able to control it.
System Config: Windows 10, Model Lenovo

Android Config: Android 10, Poco X2

I want to access the PC by connecting different networks(I mean both are not connected to the same network)

A Windows Pro/Enterprise system can be controlled via RDP (have to be enabled on Windows). Besides that the standard screen-sharing systems like TeamViewer and so on are available as app for Android.

@Robert Could you please explain how windows can be controlled via RDP

@Robert I'm using Windows Enterprise

Just use Google for "RDP enable" and you are getting here: https://www.howtogeek.com/howto/windows-vista/turn-on-remote-desktop-in-windows-vista/ Note that you should not export TCP port 3389 to the Internet, otherwise hackers will try to break your username/password and take over your system.


text:
Can't find stock rom for rooting
I want to root this phone (HTC U12 life) but cannot find source rom for it. I've checked a ton of websites (including htcdev) but found nothing. It looks like, this phone has been forsaken for a while now, so I am getting kinda desperate. However, I managed to find a post on XDA showing successful root of this phone, so there is still hope.The post is dead btw. Could you please give me a clue on where to get the rom? And if you can't, maybe there is a way to extract the rom from the phone itself or port a rom from another phone like HTC U11 life? I am not too advanced in android development but ready to learn if I have to. Any help is appreciated.

this dev successful built TWRP. unfortunately decided not to share. but have a look at his github there is HTC_OTA_Downloader which might help to get boot.img

To root your HTC U12 Life you can use one click root apps like Kingo Root.Can I post this as an answer?

@EliteX No, i would downvote https://android.stackexchange.com/q/205706

Yes looks this seems no other way stocks roms not available I searched plenty.I admit I dont recommend most install malware but some good there and we should use when nothing solution left

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

android.stackexchange.com/q/226198 - is my post too. I had lost my password for this account back then but got it back already. And I have already tried one click rooting apps but none of them worked for me. And yes my bootloader is unlocked.


text:
Auto update not working
I have Samsung Galaxy S9 with Android 10 up to date.
In my Play store I have enabled auto update feature and it's allowed to update through wifi.
I spend a lot time on wifi so I think it should work, but when I check updates in Play store there is always cca 20 application to update. I looks like it does not work. I always update manually and it takes lot of time because there are too many apps. What could be the problem?

Since it is well-documented that you cannot schedule Google Play Updates, WiFi needs to be enabled at all times, including when the screen is off, when most devices drop the connection. Look for settings to keep WiFi enabled when device is locked or sleeping. Be especially conscious that WiFi is also not shut down by battery or performance enhancer apps. Read through some of the questions in the tag 'application-autoupdate' you added to your question. Click the tag to drill through to them.

It sounds like you aren't giving Google Play services ample time to do its job.  :)
Auto-update is probably working fine.  Google Play is configured to update apps when your device enters a standby or doze state.  In other words, I bet your device will update apps if you plugged it in while connected to WiFi and left it alone for a little while.


text:
How can I see which applications is reading the clipboard?
Upon reading TikTok says it will stop accessing clipboard content on iOS devices, I wonder: How can I see which applications is reading the clipboard?

If your device is rooted, and you use Xposed: XPrivacyLua shows such things (if an app has tried to access, and if so how often and what time last).

Use AppOps to get status of operation READ_CLIPBOARD like this: https://android.stackexchange.com/a/215658/218526

We can do some scripting with AppOps.
Create /sdcard/clipboard_history.sh:
for pkg in $( pm list packages | sed 's/package://' )
do
    ( appops get $pkg READ_CLIPBOARD; appops get $pkg WRITE_CLIPBOARD ) |
    grep -i time= |
    while read -r line
    do
        echo $line | grep ' allow; ' | sed 's/time=+//'
        echo $line | grep -v ' allow; ' | sed 's/time=+[^ ]*//; s/rejectTime=+//'
    done |
    sed 's/[0-9]*ms//; s/[:;]//g; s/_CLIPBOARD//; s/ago//g; s/$/& '"$pkg"'/'
done |
awk '{printf "%-10s%-14s%-20s%s\n",$1,$2,$3,$4}'

Run:
~$ adb shell sh /sdcard/clipboard_history.sh
WRITE     allow         19h48m7s            org.shadowice.flocke.andotp
READ      allow         2d1h46m12s          dev.ukanth.ufirewall
READ      ignore        26m16s              com.dv.adm.old
READ      deny          7h39m16s            com.google.android.gms
READ      foreground-R  1d2h43m6s           org.blackmart.market
WRITE     allow         6m48s               com.termux
READ      foreground    16s                 com.google.android.inputmethod.latin
READ      allow         1m17s               com.stackexchange.marvin
WRITE     allow         1m14s               com.stackexchange.marvin

Similar answer here: Is there a way to log calls to device vibrator?

Prior to Android 10, all apps could access clipboard by default without even asking for permission.
Apps actually need a permission (that is automatically granted) to read the clipboard: READ_CLIPBOARD (from XDA Developers) - thanks to Andrew in comment

In Android 10, See Privacy changes in Android 10,
access to clipboard is limited to OEM apps only that have READ_CLIPBOARD_IN_BACKGROUND permission, which are keyboards and "apps in focus" (not sure what latter means)

Unless your app is the default input method editor (IME) or is the app that currently has focus, your app cannot access clipboard data on Android 10 or higher

TikTok would need to ask and be granted the same signature as OS since this permission is Signature permission

The system grants these app permissions at install time, but only when the app that attempts to use a permission is signed by the same certificate as the app that defines the permission.

In this kind of context "app in focus" should mean the app that's actively in use and displayed on the screen. Classically in OS jargon & programming "in focus" is referring to whatever is currently capturing user input.

@l3l_aze My confusion is more with the question - does any app that has focus gain access to clipboard? Answer according to me is yes but not sure

Ohh, I think I'm with you now. Signature Permissions (Ctrl + f data sharing through permissions) says: it allows apps to share code & data provided they're both signed with the same public key certificate (which is generated by devs). These are attached to apps by apksigner, so I don't believe the signatures could be OEM to the OS and the app wouldn't be given the special BACKGROUND permission except maybe if it's pre-installed (but IDK personally). Any app with focus will have access by default, based on your quote above.


text:
Mi 9T Pro System Destroyed
So, I wanted to install Lineage OS on my MI 9T Pro and I've made a mistake (I know why.)
I've use TWRP to access to recovery, I'll erase all folder (system/data/vendors/cache) and I'm trying to install lineage, but my OS folder was in a folder into my zip and an error was occured.
In the panic, I've rebooted the phone, and a message "The system was DESTROYED" appears on my screen, but I've access to Fastboot. I've trying some Fastboot erase (Data/system (no access)/Boot/cache) AND !
I've lock by mistake my phone with a Fastboot oem lock, but I succeeded to unlock it with Mi software.
I'm trying an Fastboot devices, all are okay I've a device connected, but, if I try an adb devices i don't have devices connected.
I have push a miui folder (~90mb) in boot, and now it restarted only in Fastboot mod, no other message, no other possibility. and I've tried a reboot in recovery, nothing, same in "android OS mod", only Fastboot reboot.
I've trying to flash with MiFlash a global rom but error 0xfffffff has occurred.
Today, I'm totally stuck and I don't know what to do, I don't have backup for a potential restoration.
Impossible to have access to debug mod to my Mi 9T Pro because I don't have access to OS and developer mod.
Apparently the battery is charging (always ON) with USB.
If u have some tricks for me, it's with pleasure!

download stock ROM and flash boot.img recovery.img system.img vendor.img from fastboot 'fastboot flash  ' and format userdata + cache 'fastboot format:ext4 ' ( means full path to image on PC)

@alecxs I've some stock rom on PC but I've only boot.img in zip folder.
do u have a link for download all img ? I can't find this files...

https://xiaomifirmwareupdater.com/archive/miui/raphael check for "fastboot" in download description

@alecxs thanks u it's all good now !


text:
how mount system partition in recovery mode to recover vold.fstab file in / etc
I have a Chinese tablet Genesis GT 7320 Androd 4.1.2. It is rooted using kingo.
I changed the vold.fstab file on the / etc partition system to vold.fstab.bkp.
The table was locked and did not start anymore. Action or recovery mode by pressing the
power and volume buttons above. I have access installed on the macbook and access to the tablet
through the adb shell. After running commands with busybox. I'm a layman and I took
time to discover the adb and busybox commands. However, I can't
access a / etc partition system to rename the vold.fstab.bkp file to simply
vold.fstab. I saw on the internet that you need to mount a system partition. I tried several
commands I found on the internet, but I didn't get results. Below are some of the directories I have access with adb shell. Can someone help me?
busybox ls
cache                     init.rc                   sbin
charger                   mnt                       sys
data                      proc                      system
default.prop              res                       tmp
dev                       rk29-ipp.ko               ueventd.goldfish.rc
etc                       rk29-ipp.ko.3.0.36+       ueventd.rc
init                      rk30xxnand_ko.ko.3.0.36+  ueventd.rk30board.rc
init.bootmode.emmc.rc     rk30xxnand_ko.ko.3.0.8+
init.bootmode.unknown.rc  root
busybox ls /dev/block
loop0       loop5       mmcblk0p2   mtdblock10  mtdblock6
loop1       loop6       mmcblk0p3   mtdblock2   mtdblock7
loop2       loop7       mtd         mtdblock3   mtdblock8
loop3       mmcblk0     mtdblock0   mtdblock4   mtdblock9
loop4       mmcblk0p1   mtdblock1   mtdblock5   platform
busybox ls /sys/block
loop0       loop4       mmcblk0     mtdblock2   mtdblock6
loop1       loop5       mtdblock0   mtdblock3   mtdblock7
loop2       loop6       mtdblock1   mtdblock4   mtdblock8
loop3       loop7       mtdblock10  mtdblock5   mtdblock9

mount -w /system then rm /system/etc/vold.fstab and mv /system/etc/vold.fstab.bkp vold.fstab (with busybox prefix maybe)
https://www.wikipedia.org/wiki/List_of_GNU_Core_Utilities_commands (please also read Related questions on the right) http://man7.org/linux/man-pages/man8/mount.8.html

The system showed the following message when I used busybox mount -w / system: mount: cannot read / etc / fstab: No such file or directory

which recovery do you have? check /system is already mounted with mount or df and remount it writeable mount -o rw,remount /system or find /dev/block -name system and mount -w <partition> /system

I used the guidance, but the system issued the following messages when I typed the commands below:
busybox mount -o rw, remount /system
mount: mounting remount on /system failed: No such file or directory
busybox ls /dev/block
loop0
loop1
loop2
loop3
loop4
loop5
loop6
loop7
mmcblk0
mmcblk0p1
mmcblk0p2
mmcblk0p3
mtd
mtdblock0
mtdblock1
mtdblock10
mtdblock2
mtdblock3
mtdblock4
mtdblock5
mtdblock6
mtdblock7
mtdblock8
mtdblock9
platform

Hello, is android system recovery version v4.2.41

I typed the command busybox find / dev / block -name system and the system issued the following message:  /dev/block/mtd/by-name/system

Congratulations!!! It worked!! Thank you very much for your help.


text:
installing lineageOS on Huawei VNS-L31
I want to install LineageOS on my phone, Huawei VNS-L31 but I'm afraid that it couldn't be supported especially after I couldn't find it on lineage website but found some websites that claim it could be supported, I'd appreciate any help on how to install it, if possible.
Also, I'd appreciate any recommended OS that could work on Huawei VNS-L31 outside Google's and Apple's worlds.
Thank you.

I think it was in the beginning of 2019 Lineage OS dropped support for a large number of old devices. Also the downloads were removed. If there was an official Lineage OS  version for your device it is now gone.

Does this answer your question? Where to get old LineageOS ROMs?


text:
What is this bunny icon, next to my internet usage speed?
A weird bunny logo has been appearing next to my internet speed lately, and I have no clue what it is.
Also, I don't use any kind of VPN.
I have tried googeling, but there isn't anything like that.
I own a Xiaomi redmi note 8 pro

Bumpidy Bump, need to get this up

Hello Rasmus. Can you give us the full high quality screenshot instead of a cropped one? That icon is already very small and zooming on it kind of pixelates it. If some of us would want to crop the icon (as it is in the current image) further for reverse image search the accuracy of the results would probably suffer a lot. Also, do tell us which Android version  and MiUI version you are using.

don't be scared


text:
Install android on an windows tablet
I got an old TrekStor SurfTab Duo W1 with an Intel Atom x5-Z8300 (x86) processor and want to install andoid on it. But I got a problem in finding the correct android version. Till now it crashes every time I start it.

Have you tried Android-x86?

@Robert Are there specific versions for every processor or just one for x86, armv or so?

Android-x86 is the name of the project: https://www.android-x86.org/

Thanks, I'll try this out. :)

@Robert When trying to boot android x86 I'm stuck at the screen "Detecting Android-x86... found at /dev/..." waiting over 30min. Nothing happened.

Well Android-x86 is an open source project. Nobody claims that it works on every hardware. May be you have to try out an older version or adapt something. For questions on Android-x86 you better go here: https://groups.google.com/forum/#!forum/android-x86

@Robert Thank you. :)


text:
SELiunix Change in Knox enabled phone
Hello every one I have problem to change my Phone SE from "Enforcing" mode to "Permisive" to use my USB Joystick on my phone, my phone is A72018(Rooted) but with Knox security. I used an app called "SELunix changer" it apears Permisive mode enabled but when I use USB/BT Joystick its says it is still on enforcing mode
Is there any app recomnded to change to Permisive mode or any recomnded app to use USB joystick with Enforcing mode?
Thank You

You will need to flash a Kernel that supports SELinux permissive

if your device is rooted with Magisk in addition to the enforcing samsung kernel please note permissive mode is deprecated. instead magisk module developers must add custom sepolicy rules


text:
How to set minimum width under developer options only for specific apps?
My device is a Samsung Galaxy A40 running Android 10 (but it probably doesn't matter that much in this case)
I want an app to think that my screen is the size of a tablet, because in that app it might be beneficial to have larger screen size. I went to developer settings, and under "Minimum width" , I changed the default value which was 360 dp, to 800 dp. Now the app thinks my display is larger, and it gives me a slightly better interface. However, the only problem is that now the rest of the OS also thinks that this is my screen size.
Is there any way to set the "minimum width" only for that app, and not the rest of the Android interface?

Not to my knowledge. I believe it to be a global setting. Related when developers had to use adb to set such values: Android: How to use “adb shell wm” to simulate other devices


text:
Why my tablet shows black screen
i am facing a weird problem with a chinese tablet,my tablet seems to be working normally i can hear sounds and the backlights works but it shows nothing,i though it was flex cable problem so i replaced it but the problem is not gone then i tryed three LCD screens but it was the same .
how can is diagonse this problem?

not a solution but you can use scrcpy if you still have black screen even on remote PC then you know it is not a screen problem. but can be still hardware or software error

usb debugging is not activated in my tablet

does it support USB OTG or is it Mediatek Chipset?

yes it supports USB OTG and has an intel cpu .

guess you want recover data? when you can hear sound it may possible to navigate blind with connected keyboard. but you need another tablet for reference https://android.stackexchange.com/q/159551

thankyou for your response ,i wish i could find out  what causes this problem.


text:
Unable to do factory reset on my vivo mobile without password
My mobile model is vivo y95. I forgot my new pattern which i have changed recently and im unable to unlock my mobile. So i tried to do factory reset on my mobile.
But when i click on Wipe data option it is asking pattern again.
Please let me know any option to unlock my phone (With factory reset also fine).

https://www.gsmsmall.com/2019/10/reset-pattern-vivo-y91y95-qualcomm.html

@alecxs Is it possible to do it with Ubuntu system?

yes and no. not with QPST, but with other tools https://android.stackexchange.com/q/224369

sudo apt-get install android-tools-adb android-tools-fastboot I cant download android adb tool also in my system Its showing 404 error

install apt-transport-https apt-get fails: The method driver /usr/lib/apt/methods/https could not be found or download platform-tools from google https://www.xda-developers.com/google-releases-separate-adb-and-fastboot-binary-downloads

@alecxs from the above link you sent me in first comment is not downloading tools properly.. Im getting only vlc files from the website

Please give me official link where i can get vivo reset pattern tools.. Im stuck with this since 3 days

there is no official reset pattern tool, the link is just instruction how to format userdata partition. you need to extract prog_emmc_firehose_8937_ddr.mbn from Split / QFIL Firmware

prog_emmc_firehose_8937_ddr.mbn ? Where i can get it?


text:
How do I solve DNS_PROBE_FINISHED_NXDOMAIN on android
I have an ssl web app hosted on my home network that uses dyn-dns to maintain my public IP address and a CNAME record to point my actual domain name to the dyn-dns domain name.
This all works fine on my desktop machine (hosted on same network as my app), my wife's mobile (on same network again) and on 2 friend's mobiles on external networks.
On my mobile (A google pixel phone running latest android) when I go to the same address I get:

This site can't be reached
[domainName]'s server IP address could not be found.
DNS_PROBE_FINISHED_NXDOMAIN

I have tried flushing the cache in the chrome://net-internals page and I have deleted the application cached data for chrome. I have also restarted my phone.
How do I fix this??? It's very frustrating.
Many thanks in advance.

Have you tried changing your DNS settings? Since you have a Pixel, go to Settings - Network & Internet and open the Advanced section, then select Private DNS and Private DNS provider hostname and change it to one.one.one.one, dns.quad9.net, or just enable Auto to use Google DNS.

Are you using WiFi or Mobile Data? Or are you using some local DNS server? May be your domain is negative cached in some intermediate recursive server. So you have to wait for its TTL to end e.g. 24 hours. Use some DNS troubleshooting tool like dig on Termux to check what it returns. Better use doh to bypass any caching server. My previous answers which may help: How does Android OS do DNS name resolution? and How to reliably clear DNS cache on Android.

Checkout out those answers. This domain name was set up some weeks or months ago so should not be a replication issue. As I said it works fine on every other device. I have tried Wifi and 4G and got the same result.

@Roaders what do dig and doh tell?

Same problem here. Just one android device that refuses to update it's DNS even months after last record change

Acejavelin your solution worked for me.


text:
Which IMG file from ISO to patch with Magisk to use on Android-x86 9 Pie?
Setup:

Oracle VirtualBox VM with installed Android-x86 9 (Pie)

Rooted out of the box (with SuperSU, guessing from the root access popup, but there's no manager app)
.vmdk VM drive

android-x86_64-9.0-r1.iso

Files on it:

Which one of the .img files on this ISO should I use for Magisk Manager boot image patching installation?

I would like to know!


text:
Wide-angle camera of Samsung Galaxy M21 not detectable by 3rd-party apps
I have bought a Samsung Galaxy M21 smartphone which has got 3 cameras-- 2 rear cameras (48MP primary camera + 8MP wide-angle camera) and a front camera. The stock camera app works well, but for some more features, I have installed a few 3rd-party apps from the Play store. But, the problem is, those 3rd-party cameras are giving access to only the primary rear camera and the front camera, but not giving access to the wide-angle camera.
Those apps are able to detect the presence of 3 cameras, but two of the camera options are referencing to the same front camera.
Here is the example with Open camera:

I have tried all the controls and settings, but it gives access to only the primary rear camera and the front camera.
Is this behaviour normal? If so, what are the workarounds?

Sounds to me linke this OpenCamera bug: https://sourceforge.net/p/opencamera/tickets/724/

Thanks for the link, that was indeed the problem I am facing.


text:
Google play services keeps stopping, and it is much worse than normal
My Samsung Galaxy J7 (2016 version) is constantly showing "Google play services keeps stopping" every 2~3 seconds. My device is running on android Oreo. I tried reverting back playstore to factory version, now I can't even enter playstore. It just keeps loading forever. I am unable to uninstall play services as well, neither can I delete the data. Yes I did try to deactivate the "find my device' option, but upon tapping "deactivate", the whole option gets greyed out and nothing happens.
I'm not being able to do anything on my phone, and its driving me crazy. Any sort of help would be highly appreciated :)

Try to activate Airplane mode. Hopefully this should reduce the error frequency. On newer devices there is the option to no longer show the error dialog. Looks like your device is too old for that feature or Samsung did not include it into their firmware.


text:
How to access OneNote android app content on PC by connecting to PC?
Is it possible to use OneNote completely offline and transfer/read it's content on PC manually by connecting mobile device to PC? I don't want to use sync, I want it to be used completely offline and private.

you should ask Microsoft support. transfer data is possible with adb. read content is another story no one can help you

AFAIK OneNote is designed to sync only via MS Cloud. Only some old Desktop version(s) can sync using a shared folder on a Windows share.


text:
Installing rsync on Android to transfer files from Android to OSX
I am trying to use rsync to transfer some files from my Android phone (Samsung Galaxy S10+ / Android V10) to my local machine (OSX / Mojave).
I did the following:

Installed SSH/SFTP server on my Android device and started the server

Verified that I am able to ssh into the phone (although it logs me in as user u0_a312 and not my_user?)

$ ssh my_user@192.168.0.16 -p 2222

The authenticity of host '[192.168.0.16]:2222 ([192.168.0.16]:2222)' can't be established.
RSA key fingerprint is SHA256:3mNL574rJyHCOGm1e7Upx4NHXMg/YnJJzq+jXhdQQxI.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[192.168.0.16]:2222' (RSA) to the list of known hosts.
Password authentication
Password:
:/ $ whoami
u0_a312

Attempted to run rsync from my local OSX machine to copy remote Android files to my laptop

rsync -avzhP -e "ssh -p 2222" my_user@192.168.0.16:/storage/6632-6330/DCIM/Camera/* .

Password authentication
Password:
exec request failed on channel 0
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-52.200.1/rsync/io.c(453) [receiver=2.6.9]

As you can see, I ran into an error on step 3. From some basic snooping on forums, it seems like rsync needs to be installed on the Android remote device.
(That's also backed up by the fact that which rsync returns nothing when executed from the Android shell)
However:

How do I go about installing rsync on the phone? Is this even the right solution here?
I never needed to do this on my previous phone (Galaxy S7), the above rsync process "just worked". Did something change with the standard installation of Android with regards to rsync ?

I've never tried that, but maybe Syncopoli could help. It describes itself as "An rsync client that works", so it hopefully, erm, works.

Obviously you need rsync binary on Android side for syncing to work. rsync has never been a part of standard Android installation. // You can use Termux for both sshd and rsync. Simple. Or put rsync binary somewhere on your $PATH. // Another idea is to use rclone on both sides with sftp built-in server. // Why you log in as user u0_a312 (the app's UID) and not my_user, the concept of users and login in Android: https://android.stackexchange.com/questions/209918

Answer here well help on how to install

Answer here may be of some interest https://android.stackexchange.com/a/179899/131553

Hi @user2490003 everything you are doing is right and the reason its not working is SSH/SFTP server does not support rsync. Just use the app called SimpleSSHD from playstore and it will work with your existing commands..Only pain is there's a little extra work to do and that is you need to copy the id_rsa.pub file to the apps authorised_keys folder for passwordless authentication.

First on Android each app has an own user-id/account, hence u0_a312is the user of the app that runs the ssh server. Regular Linux user accounts like myuser don't exist on Android.
Based on the path /storage/6632-6330/ I would assume that you are trying to access the external sd-card.
On a non-rooted device write access to ext-sd is not possible on Android using standard Linux/Unix file programs (this is only possible via Android Java API). Only if the ssh/ftp server + rsync was specially adopted to use this API it can work.
On Android 10/11 the situation is even getting worse because of the new "Scoped storage" system. Not sure if it is still possible to get full access to all files on the external ad-card.